aboutsummaryrefslogtreecommitdiff
path: root/docs/rest_api/nginx
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-18 10:12:55 +0100
committerGravatar jesopo2019-09-18 10:12:55 +0100
commit6e0bc62eea0404c8cd654968a38c4f8bc0d07aea (patch)
treec577debb2b00e2e978cbe61ab27e1be569998108 /docs/rest_api/nginx
parentadd proxy_pass Host and X-Forwarded-For headers to nginx example (diff)
signature
add :$port to nginx Host header
Diffstat (limited to 'docs/rest_api/nginx')
-rw-r--r--docs/rest_api/nginx2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/rest_api/nginx b/docs/rest_api/nginx
index a8d17ff9..de3e79c5 100644
--- a/docs/rest_api/nginx
+++ b/docs/rest_api/nginx
@@ -8,7 +8,7 @@ server {
location / {
proxy_pass http://localhost:5001;
- proxy_set_header Host $host;
+ proxy_set_header Host $host:$port;
proxy_set_header X-Forwarded-For $remote_addr;
}
}