add missing proxy headers
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
c200e4002e
commit
c136c33a58
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
proxy_set_header Host "sophies-kitchen.eu";
|
proxy_set_header Host "sophies-kitchen.eu";
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /_matrix/media {
|
location /_matrix/media {
|
||||||
|
@ -18,5 +19,6 @@
|
||||||
proxy_set_header Host "sophies-kitchen.eu";
|
proxy_set_header Host "sophies-kitchen.eu";
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://localhost:20090;
|
proxy_pass http://localhost:20090;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue