Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
Pylons/waitress
BenAllums/waitress
Flimm/waitress
ImaduddinAMajid/waitress
Inventorum/waitress
JAVTAMVI/waitress
JasonOldWoo/waitress
Kaemka/waitress
Kerydwen/waitress
LuciferJack/waitress
Menhirs-Screeps/waitress
Natim/waitress
NotBobTheBuilder/waitress
Preston-Landers/waitress
SixiemeEtage/waitress
ajmitch/waitress
aktiur/waitress
alexanderlukanin13/waitress
anthrax3/waitress
aodag/waitress
aragilar/waitress
atorkhov/waitress
baijum/waitress
bertjwregeer/waitress
bostrick/waitress
bwarren2/waitress
carriercomm/waitress
caseylitton/waitress
csingley/waitress
dalavanmanphonsy/waitress
dbaty/waitress
defnull/waitress
domruf/waitress
dude0815/waitress
e42s/waitress
ehsan-keshavarzian/waitress
eli-collins/waitress
ericatkin/waitress
ewdurbin/waitress
frankdarcy/waitress
gjo/waitress
grf123/waitress
hathawsh/waitress
j4mie/waitress
jenniemanphonsy/waitress
jmwhitfi/waitress
jor123/waitress
jorgeelas/waitress
k0s/waitress
kaymccormick/waitress
kevinelong/waitress
kpinc/waitress
levigross/waitress
lifuzu/waitress
lordjabez/waitress
madjar/waitress
malor/waitress
marcinkuzminski/waitress
mgedmin/waitress
mikeckennedy/waitress
mindchasers/waitress
mjstephan/waitress
msabramo/waitress
olt/waitress
pomarec/waitress
python-oz/waitress
rcoor/waitress
rmiyashiro/waitress
robertlagrant/waitress
rsiemens/waitress
saschagottfried/waitress
sephialife/waitress
sheepcat/waitress
sideffect0/waitress
stevepiercy/waitress
tarekziade/waitress
tshepang/waitress
vinitkumar/waitress
wwitzel3/waitress
xetch/waitress
yuzhougit/waitress
Nothing to show
Choose a Head Repository
Pylons/waitress
BenAllums/waitress
Flimm/waitress
ImaduddinAMajid/waitress
Inventorum/waitress
JAVTAMVI/waitress
JasonOldWoo/waitress
Kaemka/waitress
Kerydwen/waitress
LuciferJack/waitress
Menhirs-Screeps/waitress
Natim/waitress
NotBobTheBuilder/waitress
Preston-Landers/waitress
SixiemeEtage/waitress
ajmitch/waitress
aktiur/waitress
alexanderlukanin13/waitress
anthrax3/waitress
aodag/waitress
aragilar/waitress
atorkhov/waitress
baijum/waitress
bertjwregeer/waitress
bostrick/waitress
bwarren2/waitress
carriercomm/waitress
caseylitton/waitress
csingley/waitress
dalavanmanphonsy/waitress
dbaty/waitress
defnull/waitress
domruf/waitress
dude0815/waitress
e42s/waitress
ehsan-keshavarzian/waitress
eli-collins/waitress
ericatkin/waitress
ewdurbin/waitress
frankdarcy/waitress
gjo/waitress
grf123/waitress
hathawsh/waitress
j4mie/waitress
jenniemanphonsy/waitress
jmwhitfi/waitress
jor123/waitress
jorgeelas/waitress
k0s/waitress
kaymccormick/waitress
kevinelong/waitress
kpinc/waitress
levigross/waitress
lifuzu/waitress
lordjabez/waitress
madjar/waitress
malor/waitress
marcinkuzminski/waitress
mgedmin/waitress
mikeckennedy/waitress
mindchasers/waitress
mjstephan/waitress
msabramo/waitress
olt/waitress
pomarec/waitress
python-oz/waitress
rcoor/waitress
rmiyashiro/waitress
robertlagrant/waitress
rsiemens/waitress
saschagottfried/waitress
sephialife/waitress
sheepcat/waitress
sideffect0/waitress
stevepiercy/waitress
tarekziade/waitress
tshepang/waitress
vinitkumar/waitress
wwitzel3/waitress
xetch/waitress
yuzhougit/waitress
Nothing to show
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Sep 22, 2018
Showing with 6 additions and 2 deletions.
  1. +6 −2 docs/reverse-proxy.rst
View
@@ -133,14 +133,18 @@ the client to your Waitress server, as well as sending along a
If your proxy accepts both HTTP and HTTPS URLs, and you want your application
to generate the appropriate url based on the incoming scheme, also set up
your proxy to send a ``X-Forwarded-Proto`` with the original URL scheme along
with each proxied request. For example, when using nginx::
with each proxied request. For example, when using nginx.
.. code-block:: nginx
proxy_set_header X-Forwarded-Proto $scheme;
It's permitted to set an ``X-Forwarded-For`` header too; the
``PrefixMiddleware`` uses this to adjust other environment variables (you'll
have to read its docs to find out which ones, I don't know what they are). For
the ``X-Forwarded-For`` header::
the ``X-Forwarded-For`` header.
.. code-block:: nginx
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

No commit comments for this range