Skip to content

Commit

Permalink
Merge pull request #2633 from drpoggi/patch-1
Browse files Browse the repository at this point in the history
update ssl.md
  • Loading branch information
josegonzalez committed Feb 28, 2017
2 parents d79a790 + f7a25eb commit 16ff22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration/ssl.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Beware that if you enable the header and a subsequent deploy of your application

## Running behind a load balancer

Your application has access to the HTTP headers `X-Forwarded-Proto`, `X-Forwarded-For` and `X-Forwarded-Port`. These headers indicate the protocol of the original request (HTTP or HTTPS), the port number, and the IP address of the client making the request, respectively. The default configuration is for Nginx to set these headers.
Your application has access to the HTTP headers `X-Forwarded-Proto`, `X-Forwarded-Port` and `X-Forwarded-For`. These headers indicate the protocol of the original request (HTTP or HTTPS), the port number, and the IP address of the client making the request, respectively. The default configuration is for Nginx to set these headers.

If your server runs behind an HTTP/S load balancer, then Nginx will see all requests as coming from the load balancer. If your load balancer sets the `X-Forwarded-` headers, you can tell Nginx to pass these headers from load balancer to your application by using the following [nginx custom template](/dokku/configuration/nginx/#customizing-the-nginx-configuration)

Expand Down

0 comments on commit 16ff22b

Please sign in to comment.