debug: sigil for location /connectis simple

This commit is contained in:
Stepn_V 2023-10-15 04:56:00 -03:00
parent 9ed03cc1c7
commit 2db2e40def

View File

@ -57,7 +57,10 @@ server {
# Custom location block for /connect # Custom location block for /connect
location /connect { location /connect {
proxy_pass http://presence-8080/; proxy_pass http://presence-8080/;
add_header 'Access-Control-Allow-Origin' 'https://discoursio-webapp.vercel.app'; add_header 'Cache-Control' 'no-cache';
add_header 'Content-Type' 'text/event-stream';
add_header 'Connection' 'keep-alive';
add_header 'Access-Control-Allow-Origin' '$allow_origin';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization'; add_header 'Access-Control-Allow-Headers' 'Content-Type, Authorization';
proxy_http_version 1.1; proxy_http_version 1.1;