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 c075035 + 8ebccad commit 23a8b39Copy full SHA for 23a8b39
setup/web_server_configuration.rst
@@ -334,6 +334,9 @@ The **minimum configuration** to get your application running under Nginx is:
334
# Otherwise, PHP's OPcache may not properly detect changes to
335
# your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126
336
# for more information).
337
+ # Caveat: When PHP-FPM is hosted on a different machine from nginx
338
+ # $realpath_root may not resolve as you expect! In this case try using
339
+ # $document_root instead.
340
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
341
fastcgi_param DOCUMENT_ROOT $realpath_root;
342
# Prevents URIs that include the front controller. This will 404:
0 commit comments