add missing proxy headers
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Sophie Schiller 2021-05-21 23:51:53 +02:00
parent c200e4002e
commit c136c33a58

View file

@ -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;
} }