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
438f4090c4
commit
078ca48cdf
1 changed files with 6 additions and 10 deletions
|
@ -5,7 +5,7 @@ location __PATH__/ {
|
||||||
proxy_redirect / __PATH__/;
|
proxy_redirect / __PATH__/;
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__/;
|
proxy_pass http://127.0.0.1:__PORT__/;
|
||||||
proxy_buffering off; # be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf
|
proxy_buffering off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_pass_header Server;
|
proxy_pass_header Server;
|
||||||
|
|
||||||
|
@ -16,9 +16,8 @@ location __PATH__/ {
|
||||||
rewrite __PATH__/socket.io/(.*) /socket.io/$1 break;
|
rewrite __PATH__/socket.io/(.*) /socket.io/$1 break;
|
||||||
proxy_redirect / __PATH__/;
|
proxy_redirect / __PATH__/;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__/;
|
proxy_pass http://127.0.0.1:__PORT__/;
|
||||||
proxy_buffering off; # be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf
|
proxy_buffering off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_pass_header Server;
|
proxy_pass_header Server;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
@ -35,8 +34,7 @@ location __PATH__/ {
|
||||||
proxy_redirect / __PATH__/;
|
proxy_redirect / __PATH__/;
|
||||||
proxy_set_header X-Proxy-Path __PATH__;
|
proxy_set_header X-Proxy-Path __PATH__;
|
||||||
proxy_pass http://127.0.0.1:__PORT__/;
|
proxy_pass http://127.0.0.1:__PORT__/;
|
||||||
|
proxy_buffering off;
|
||||||
proxy_buffering off; # be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_pass_header Server;
|
proxy_pass_header Server;
|
||||||
|
|
||||||
|
@ -49,8 +47,7 @@ location __PATH__/ {
|
||||||
proxy_redirect / __PATH__/;
|
proxy_redirect / __PATH__/;
|
||||||
proxy_set_header X-Proxy-Path __PATH__;
|
proxy_set_header X-Proxy-Path __PATH__;
|
||||||
proxy_pass http://127.0.0.1:__PORT__/;
|
proxy_pass http://127.0.0.1:__PORT__/;
|
||||||
|
proxy_buffering off;
|
||||||
proxy_buffering off; # be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_pass_header Server;
|
proxy_pass_header Server;
|
||||||
|
|
||||||
|
@ -59,9 +56,8 @@ location __PATH__/ {
|
||||||
|
|
||||||
location __PATH__/static {
|
location __PATH__/static {
|
||||||
rewrite __PATH__/static/(.*) /static/$1 break;
|
rewrite __PATH__/static/(.*) /static/$1 break;
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__/;
|
proxy_pass http://127.0.0.1:__PORT__/;
|
||||||
proxy_buffering off; # be careful, this line doesn't override any proxy_buffering on set in a conf.d/file.conf
|
proxy_buffering off;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_pass_header Server;
|
proxy_pass_header Server;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue