debug: sigil for location /connectis simple
This commit is contained in:
parent
9ed03cc1c7
commit
2db2e40def
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user