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:
parent
3082df5c1b
commit
7945d92ee8
1 changed files with 16 additions and 0 deletions
|
@ -29,3 +29,19 @@ location __PATH__/ {
|
||||||
location ~* __PATH__/p/[^/]*(_|%|\*)[^/]*/export/etherpad {
|
location ~* __PATH__/p/[^/]*(_|%|\*)[^/]*/export/etherpad {
|
||||||
return 404;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue