In your site’s server block add /index.php?$args; to try_files so that you get something like this: try_files $uri $uri/ /index.php?$args;