Browse Source

Merge pull request #1456 from jonafato/proxy-setup-x-forwarded-proto

Add X-Forwarded-Proto header to proxy setup example docs
pull/1407/merge
Markus Unterwaditzer 9 years ago
parent
commit
e7d548595e
  1. 1
      docs/deploying/wsgi-standalone.rst

1
docs/deploying/wsgi-standalone.rst

@ -100,6 +100,7 @@ localhost at port 8000, setting appropriate headers:
proxy_set_header Host $host;
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;
}
}

Loading…
Cancel
Save