diff options
| author | nemsia <nemsia@nemsia.org> | 2018-06-21 10:50:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-21 10:50:06 +0200 |
| commit | 6a4ca2a0e670afec810204cb90009097914f748c (patch) | |
| tree | 693fcef1b30fd5e7d65092fe7bcd48fe2303bbc9 /conf/nginx.conf | |
| parent | cd1f81fb5d25783329e549ee966a0a545001c63c (diff) | |
| parent | 531aaa6a47c87e41f18eff02a4dd10d2481f9a08 (diff) | |
| download | mastodon_ynh-6a4ca2a0e670afec810204cb90009097914f748c.tar.gz mastodon_ynh-6a4ca2a0e670afec810204cb90009097914f748c.tar.bz2 mastodon_ynh-6a4ca2a0e670afec810204cb90009097914f748c.zip | |
Merge pull request #100 from anmol26s/master
Some changes to improve the app
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 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; |
