1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/glitchsoc_ynh.git synced 2024-09-03 19:15:59 +02:00

Merge pull request #223 from Tagadda/testing

Fix nginx.conf for multi-instance
This commit is contained in:
yalh76 2020-05-18 19:09:47 +02:00 committed by GitHub
commit 0cf92e9328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;