1

You should use the ^~ prefix on the location statement, change the alias statement to root /var/www;, and change the last parameter of the try_files statement. For example: location ^~ /blog/ { autoindex on; root /var/www; index index.php; try_files $uri $uri/ /blog/index.php?$args; location ~ \.php$ { include snippets/fastcgi-...


Only top voted, non community-wiki answers of a minimum length are eligible