diff options
| author | 2019-09-18 10:09:40 +0100 | |
|---|---|---|
| committer | 2019-09-18 10:09:40 +0100 | |
| commit | bbc2a0be519309bd52c0f90d5cafa6293a364250 (patch) | |
| tree | 7371b923df8682715bdbab0b58a7979c2a7e814b | |
| parent | `first` is now a Response object, not a dict (diff) | |
| signature | ||
add proxy_pass Host and X-Forwarded-For headers to nginx example
| -rw-r--r-- | docs/rest_api/nginx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/rest_api/nginx b/docs/rest_api/nginx index 035dce33..a8d17ff9 100644 --- a/docs/rest_api/nginx +++ b/docs/rest_api/nginx @@ -8,6 +8,8 @@ server { location / { proxy_pass http://localhost:5001; + proxy_set_header Host $host; + proxy_set_header X-Forwarded-For $remote_addr; } } |
