1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

nginx config changes

This commit is contained in:
PxBCPG 2023-05-06 22:18:51 +02:00
parent 3fa69a8a0e
commit a890096313

View file

@ -17,3 +17,13 @@ location __PATH__/ {
fastcgi_param SCRIPT_FILENAME cas_server.php; fastcgi_param SCRIPT_FILENAME cas_server.php;
} }
} }
location /_synapse/ {
proxy_pass http://localhost:__PORT__;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Host $host;
client_max_body_size 10M;
}