Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions includes/chen.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
location /chen/ {
set $chen_upstream chen:8082;
proxy_pass http://$chen_upstream;
proxy_pass http://chen:8082;
proxy_buffering off;
proxy_http_version 1.1;
proxy_request_buffering off;
Expand All @@ -13,4 +12,4 @@ location /chen/ {
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 6000;
}
}
6 changes: 2 additions & 4 deletions includes/core.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ location /private-media/ {
}

location /ws/ {
set $core_upstream core:8080;
proxy_pass http://$core_upstream;
proxy_pass http://core:8080;
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
Expand All @@ -19,8 +18,7 @@ location /ws/ {
}

location ~ ^/(core|api|media)/ {
set $core_upstream core:8080;
proxy_pass http://$core_upstream;
proxy_pass http://core:8080;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_ignore_client_abort on;
Expand Down
5 changes: 2 additions & 3 deletions includes/koko.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
location /koko/ {
set $koko_upstream koko:5000;
proxy_pass http://$koko_upstream;
proxy_pass http://koko:5000;
proxy_buffering off;
proxy_http_version 1.1;
proxy_request_buffering off;
Expand All @@ -13,4 +12,4 @@ location /koko/ {
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 6000;
}
}
5 changes: 2 additions & 3 deletions includes/lion.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
location /lion/ {
set $lion_upstream lion:8081;
proxy_pass http://$lion_upstream;
proxy_pass http://lion:8081;
proxy_buffering off;
proxy_http_version 1.1;
proxy_request_buffering off;
Expand All @@ -13,4 +12,4 @@ location /lion/ {
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 6000;
}
}