Skip to content

Commit 21e07cd

Browse files
committed
Fix filepath for Symfony 4.x #12117
1 parent 4650062 commit 21e07cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/proxies.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ For instance you have ``Custom-Forwarded-Proto`` instead of ``X-Forwarded-Proto`
8585
In this case, you'll need to set the header ``X-Forwarded-Proto`` with the value of
8686
``Custom-Forwarded-Proto`` early enough in your application, i.e. before handling the request::
8787

88-
// web/app.php
88+
// public/index.php
8989

9090
// ...
9191
$_SERVER['HEADER_X_FORWARDED_PROTO'] = $_SERVER['HEADER_CUSTOM_FORWARDED_PROTO'];

0 commit comments

Comments
 (0)