mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Add X-Forwarded-Proto header
Fixes https://github.com/YunoHost-Apps/synapse_ynh/issues/249
This commit is contained in:
parent
a5d2bc6560
commit
dccaf7f85a
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
location __PATH__ {
|
||||
proxy_pass http://localhost:__PORT__;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
|
||||
client_max_body_size 100M;
|
||||
|
||||
|
|
Loading…
Reference in a new issue