Simplify proxy pass
This commit is contained in:
@@ -25,8 +25,7 @@ server {
|
||||
index index.php;
|
||||
location / {
|
||||
proxy_pass http://192.168.95.22;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
include snippets/proxy_header.conf;
|
||||
proxy_buffering off;
|
||||
proxy_request_buffering off;
|
||||
client_body_buffer_size 32K;
|
||||
|
||||
@@ -30,8 +30,7 @@ server {
|
||||
|
||||
location /etherpad {
|
||||
proxy_pass http://192.168.95.11:3333;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
include snippets/proxy_header.conf;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,8 +49,7 @@ server {
|
||||
|
||||
location / {
|
||||
proxy_pass http://192.168.95.11:3333;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
include snippets/proxy_header.conf;
|
||||
}
|
||||
location ~ ^/(alt|twiki) {
|
||||
return 302 https://www.alt.fet.at$request_uri;
|
||||
|
||||
@@ -19,5 +19,6 @@ server {
|
||||
|
||||
location / {
|
||||
proxy_pass http://zyklon:3000;
|
||||
include snippets/proxy_header.conf;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user