Skip to content

Commit 1d61aaa

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Change code example for custom header when using a reverse proxy
2 parents 26228a1 + 7612979 commit 1d61aaa

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
@@ -111,7 +111,7 @@ In this case, you'll need to set the header ``X-Forwarded-Proto`` with the value
111111
// public/index.php
112112

113113
// ...
114-
$_SERVER['HEADER_X_FORWARDED_PROTO'] = $_SERVER['HEADER_CUSTOM_FORWARDED_PROTO'];
114+
$_SERVER['HTTP_X_FORWARDED_PROTO'] = $_SERVER['HTTP_CUSTOM_FORWARDED_PROTO'];
115115
// ...
116116
$response = $kernel->handle($request);
117117

0 commit comments

Comments
 (0)