Redirect on x-forwarded-for=http in echoserver.
This commit is contained in:
parent
98f03b789a
commit
4409bed106
4 changed files with 13 additions and 4 deletions
|
|
@ -1,3 +1,6 @@
|
|||
# Echoserver
|
||||
|
||||
This is a simple python http server that responds with the http headers it received, runs on port 8080.
|
||||
This is a simple server that responds with the http headers it received.
|
||||
Image versions >= 1.3 redirect requests on :80 with `X-Forwarded-Proto: http` to :443.
|
||||
Image versions > 1.0 run an nginx server, and implement the echoserver using lua in the nginx config.
|
||||
Image versions <= 1.0 run a python http server instead of nginx, and don't redirect any requests.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue