Missing $args in nginx rewrites
-
Not sure if it’s a bug or by design, but nginx rewrites that plugin generates is missing $args:
location / { try_files $uri $uri/ /index.php; }
And it should be
location / { try_files $uri $uri/ /index.php?$args; }
What happens when $args is not present, dynamic requests don’t reach server at all due to Memcached. We noticed this issue when frontend page builder that uses ?request to activate wasn’t working. ?request wasn’t reaching server.
Interestingly, this was working on homepage but it did not work on other pages because of the missing $args.
Reviewing Codex, we noticed that they do included $args in the recommended rewrites and it did fix issues for us.
Thought I report this in case it’s a bug, or if someone is having issue with their requests to save time troubleshooting.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Missing $args in nginx rewrites’ is closed to new replies.