1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2020-12-13 17:21:47 +01:00
parent 3082df5c1b
commit 7945d92ee8
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -29,3 +29,19 @@ location __PATH__/ {
location ~* __PATH__/p/[^/]*(_|%|\*)[^/]*/export/etherpad {
return 404;
}
location __PATH__/socket.io {
rewrite /socket.io/(.*) /socket.io/$1 break;
proxy_pass http://127.0.0.1:__PORT__/;
proxy_set_header Host $host;
proxy_buffering off;
}
location __PATH__/static {
rewrite /static/(.*) /static/$1 break;
proxy_pass http://127.0.0.1:__PORT__/;
proxy_set_header Host $host;
proxy_buffering off;
}