mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Merge pull request #377 from PxBCPG/master
Add /_synpase/ path to nginx
This commit is contained in:
commit
6552d5b283
1 changed files with 10 additions and 0 deletions
|
@ -17,3 +17,13 @@ location __PATH__/ {
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue