Skip to content

Commit 71bf6e8

Browse files
committed
Merge branch '5.0'
* 5.0: Change code example for custom header when using a reverse proxy
2 parents 75ae01a + 90ffbee commit 71bf6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment/proxies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ In this case, you'll need to set the header ``X-Forwarded-Proto`` with the value
107107
// public/index.php
108108

109109
// ...
110-
$_SERVER['HEADER_X_FORWARDED_PROTO'] = $_SERVER['HEADER_CUSTOM_FORWARDED_PROTO'];
110+
$_SERVER['HTTP_X_FORWARDED_PROTO'] = $_SERVER['HTTP_CUSTOM_FORWARDED_PROTO'];
111111
// ...
112112
$response = $kernel->handle($request);
113113

0 commit comments

Comments
 (0)