Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e01d2e0

Browse files
committed
Minor tweak
1 parent c41d592 commit e01d2e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

deployment/proxies.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ handling the request::
164164
// ...
165165
$response = $kernel->handle($request);
166166

167-
Overriding configuration behind hidden SSL termination
167+
Overriding Configuration Behind Hidden SSL Termination
168168
------------------------------------------------------
169169

170170
Some cloud setups (like running a Docker container with the "Web App for Containers"
171-
in `Microsoft Azure`_) do SSL termination and contact your web server over http, but
171+
in `Microsoft Azure`_) do SSL termination and contact your web server over HTTP, but
172172
do not change the remote address nor set the ``X-Forwarded-*`` headers. This means
173-
the trusted proxy funcationality of Symfony can't help you.
173+
the trusted proxy feature of Symfony can't help you.
174174

175175
Once you made sure your server is only reachable through the cloud proxy over HTTPS
176176
and not through HTTP, you can override the information your web server sends to PHP.
@@ -181,7 +181,7 @@ For Nginx, this could look like this:
181181
location ~ ^/index\.php$ {
182182
fastcgi_pass 127.0.0.1:9000;
183183
include fastcgi.conf;
184-
# Lie to symfony about the protocol and port so that it generates the correct https URLs
184+
# Lie to Symfony about the protocol and port so that it generates the correct HTTPS URLs
185185
fastcgi_param SERVER_PORT "443";
186186
fastcgi_param HTTPS "on";
187187
}

0 commit comments

Comments
 (0)