This commit is contained in:
packetcat 2023-03-03 14:21:30 -05:00
parent 47fcd5289b
commit 2009e9737c
1 changed files with 2 additions and 8 deletions

View File

@ -32,12 +32,6 @@
- add_header Access-Control-Allow-Origin *
- include snippets/blockbots.conf
- client_max_body_size 0
- upstream backend {
server 127.0.0.1:3000 fail_timeout=0;
}
- upstream streaming {
server 127.0.0.1:4000 fail_timeout=0;
}
- location / {
try_files $uri @proxy;
}
@ -92,7 +86,7 @@
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Proxy "";
proxy_pass http://streaming;
proxy_pass http://127.0.0.1:4000;
proxy_buffering off;
proxy_redirect off;
proxy_http_version 1.1;
@ -108,7 +102,7 @@
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Proxy "";
proxy_pass_header Server;
proxy_pass http://backend;
proxy_pass http://127.0.0.1:3000;
proxy_buffering on;
proxy_redirect off;
proxy_http_version 1.1;