aboutsummaryrefslogtreecommitdiff
path: root/conf/nginx.conf
diff options
context:
space:
mode:
authoranmol26s <github@datamol.org>2018-06-21 08:18:02 +0530
committeranmol26s <github@datamol.org>2018-06-21 08:18:02 +0530
commit9c37e95309833ae19048ee1e53b8c4070f3e7f8d (patch)
treee6bf8a8a93ff657baba9203bf52206469c2b076f /conf/nginx.conf
parentcd1f81fb5d25783329e549ee966a0a545001c63c (diff)
downloadmastodon_ynh-9c37e95309833ae19048ee1e53b8c4070f3e7f8d.tar.gz
mastodon_ynh-9c37e95309833ae19048ee1e53b8c4070f3e7f8d.tar.bz2
mastodon_ynh-9c37e95309833ae19048ee1e53b8c4070f3e7f8d.zip
Improved the app
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 585109e..a183a31 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -28,7 +28,7 @@ location @proxy {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_pass_header Server;
- proxy_pass http://127.0.0.1:3000;
+ proxy_pass http://127.0.0.1:__PORT_WEB__;
proxy_buffering off;
proxy_redirect off;
proxy_http_version 1.1;
@@ -42,7 +42,7 @@ location /api/v1/streaming {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
- 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;