Skip to content

Commit 90ffbee

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Change code example for custom header when using a reverse proxy
2 parents 3525dd7 + 1d61aaa commit 90ffbee

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)