aboutsummaryrefslogtreecommitdiff
path: root/conf/nginx.conf
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2020-05-18 19:09:47 +0200
committerGitHub <noreply@github.com>2020-05-18 19:09:47 +0200
commit0cf92e93287520d0821503f0cbb667ef710f9be5 (patch)
treee24ea9368fd0607eb17cc84aabc42578277d361a /conf/nginx.conf
parent6650cdd372df215e37250501f6ab8d345941a29b (diff)
parent0ecdb6e3c330b9594a83443ea60597f8367c55bf (diff)
downloadmastodon_ynh-0cf92e93287520d0821503f0cbb667ef710f9be5.tar.gz
mastodon_ynh-0cf92e93287520d0821503f0cbb667ef710f9be5.tar.bz2
mastodon_ynh-0cf92e93287520d0821503f0cbb667ef710f9be5.zip
Merge pull request #223 from Tagadda/testing
Fix nginx.conf for multi-instance
Diffstat (limited to 'conf/nginx.conf')
-rw-r--r--conf/nginx.conf4
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;