diff options
| author | 2019-09-18 10:12:55 +0100 | |
|---|---|---|
| committer | 2019-09-18 10:12:55 +0100 | |
| commit | 6e0bc62eea0404c8cd654968a38c4f8bc0d07aea (patch) | |
| tree | c577debb2b00e2e978cbe61ab27e1be569998108 /docs | |
| parent | add proxy_pass Host and X-Forwarded-For headers to nginx example (diff) | |
| signature | ||
add :$port to nginx Host header
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/rest_api/nginx | 2 |
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; } } |
