We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17dd0e1 + 27868a0 commit 5eba57eCopy full SHA for 5eba57e
setup/web_server_configuration.rst
@@ -295,6 +295,13 @@ The **minimum configuration** to get your application running under Nginx is:
295
try_files $uri /index.php$is_args$args;
296
}
297
298
+ # optionally disable falling back to PHP script for the asset directories;
299
+ # nginx will return a 404 error when files are not found instead of passing the
300
+ # request to Symfony (improves performance but Symfony's 404 page is not displayed)
301
+ # location /bundles {
302
+ # try_files $uri =404;
303
+ # }
304
+
305
location ~ ^/index\.php(/|$) {
306
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
307
fastcgi_split_path_info ^(.+\.php)(/.*)$;
0 commit comments