diff options
| author | Tagada <36127788+Tagadda@users.noreply.github.com> | 2020-05-18 15:23:13 +0200 |
|---|---|---|
| committer | Tagada <36127788+Tagadda@users.noreply.github.com> | 2020-05-18 15:23:13 +0200 |
| commit | 0ecdb6e3c330b9594a83443ea60597f8367c55bf (patch) | |
| tree | e24ea9368fd0607eb17cc84aabc42578277d361a /conf/nginx.conf | |
| parent | 6650cdd372df215e37250501f6ab8d345941a29b (diff) | |
| download | mastodon_ynh-0ecdb6e3c330b9594a83443ea60597f8367c55bf.tar.gz mastodon_ynh-0ecdb6e3c330b9594a83443ea60597f8367c55bf.tar.bz2 mastodon_ynh-0ecdb6e3c330b9594a83443ea60597f8367c55bf.zip | |
Fix nginx.conf for multi-instance
Diffstat (limited to 'conf/nginx.conf')
| -rw-r--r-- | conf/nginx.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf index 7fa7b87..d348613 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -38,7 +38,7 @@ location @proxy { proxy_set_header Proxy ""; proxy_pass_header Server; - proxy_pass http://127.0.0.1:3000; + proxy_pass http://127.0.0.1:__PORT_WEB__; proxy_buffering on; proxy_redirect off; proxy_http_version 1.1; @@ -62,7 +62,7 @@ location /api/v1/streaming { proxy_set_header X-Forwarded-Proto https; proxy_set_header Proxy ""; - proxy_pass http://127.0.0.1:4000; + proxy_pass http://127.0.0.1:__PORT_STREAM__; proxy_buffering off; proxy_redirect off; proxy_http_version 1.1; |
