aboutsummaryrefslogtreecommitdiff
path: root/docs/rest_api
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-18 10:09:40 +0100
committerGravatar jesopo2019-09-18 10:09:40 +0100
commitbbc2a0be519309bd52c0f90d5cafa6293a364250 (patch)
tree7371b923df8682715bdbab0b58a7979c2a7e814b /docs/rest_api
parent`first` is now a Response object, not a dict (diff)
signature
add proxy_pass Host and X-Forwarded-For headers to nginx example
Diffstat (limited to 'docs/rest_api')
-rw-r--r--docs/rest_api/nginx2
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;
}
}