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

Commit3732796

Browse files
committed
minor#14698 Update the Nginx example (sebpacz)
This PR was merged into the 4.4 branch.Discussion----------Update the Nginx exampleWhen 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.<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/releases for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `5.x` for features of unreleased versions).-->Commits-------f5ebf42 Update the Nginx example
2 parentsc6f45d8 +f5ebf42 commit3732796

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
@@ -334,6 +334,9 @@ The **minimum configuration** to get your application running under Nginx is:
334334
# Otherwise, PHP's OPcache may not properly detect changes to
335335
# your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126
336336
# 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.
337340
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
338341
fastcgi_param DOCUMENT_ROOT $realpath_root;
339342
# Prevents URIs that include the front controller. This will 404:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp