debug: add upstream for presence
This commit is contained in:
parent
ee195d4ec7
commit
6403f0d055
|
@ -56,7 +56,7 @@ server {
|
||||||
|
|
||||||
# Custom location block for /connect
|
# Custom location block for /connect
|
||||||
location /connect {
|
location /connect {
|
||||||
proxy_pass http://presence-8080$uri$is_args$args/;
|
proxy_pass http://presence-8080/;
|
||||||
{{ $proxy_settings }}
|
{{ $proxy_settings }}
|
||||||
{{ $gzip_settings }}
|
{{ $gzip_settings }}
|
||||||
{{ $cors_headers_options }}
|
{{ $cors_headers_options }}
|
||||||
|
@ -95,6 +95,11 @@ server {
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
# Upstream setup
|
# Upstream setup
|
||||||
|
|
||||||
|
upstream presence-8080 {
|
||||||
|
server 172.17.0.21:8080;
|
||||||
|
}
|
||||||
|
|
||||||
{{ range $upstream_port := $.PROXY_UPSTREAM_PORTS | split " " }}
|
{{ range $upstream_port := $.PROXY_UPSTREAM_PORTS | split " " }}
|
||||||
upstream {{ $.APP }}-{{ $upstream_port }} {
|
upstream {{ $.APP }}-{{ $upstream_port }} {
|
||||||
{{ range $listeners := $.DOKKU_APP_WEB_LISTENERS | split " " }}
|
{{ range $listeners := $.DOKKU_APP_WEB_LISTENERS | split " " }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user