mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[IMP] runbot: add forwarded for headers
This commit is contained in:
parent
c45f1a2dd6
commit
03a20398a1
@ -39,6 +39,8 @@ proxy_connect_timeout 600;
|
||||
proxy_set_header X-Forwarded-Host $host;
|
||||
proxy_set_header X-Forwarded-Proto $real_scheme;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For 127.0.0.42;
|
||||
proxy_set_header X-Real-IP 127.0.0.42;
|
||||
|
||||
server {
|
||||
listen 8080 default;
|
||||
@ -98,6 +100,9 @@ server {
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header X-Forwarded-For 127.0.0.42;
|
||||
proxy_set_header X-Real-IP 127.0.0.42;
|
||||
|
||||
}
|
||||
}
|
||||
</t>
|
||||
|
Loading…
Reference in New Issue
Block a user