Include `X-Forwarded-Proto` in nginx sample [skip ci]

pull/800/head
Ben Busby 2 years ago committed by GitHub
parent a51fbb1b0e
commit c1d9373d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -463,6 +463,7 @@ server {
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:5000;

Loading…
Cancel
Save