Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf5ebf42

Browse files
authored
Update the Nginx example
When I was looking through the Nginx configuration recipe for Symfony 4.x I discovered an important comment that isn’t included in the example in the Nginx section. I think this tip may be useful for those who create their environment using docker containers. In this PR I added the missing comment, which is taken from the recipe on this page:https://www.nginx.com/resources/wiki/start/topics/recipes/symfony/#secure-symfony-4-x.
1 parentdab151b commitf5ebf42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎setup/web_server_configuration.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,9 @@ The **minimum configuration** to get your application running under Nginx is:
333333
# Otherwise, PHP's OPcache may not properly detect changes to
334334
# your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126
335335
# for more information).
336+
# Caveat: When PHP-FPM is hosted on a different machine from nginx
337+
# $realpath_root may not resolve as you expect! In this case try using
338+
# $document_root instead.
336339
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
337340
fastcgi_param DOCUMENT_ROOT $realpath_root;
338341
# Prevents URIs that include the front controller. This will 404:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp