fix: piped cors header
This commit is contained in:
@@ -252,8 +252,8 @@ in
|
|||||||
proxyPass = "http://127.0.0.1:${toString proxyPort}/";
|
proxyPass = "http://127.0.0.1:${toString proxyPort}/";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# CORS headers for video streaming (restricted to own frontend)
|
# CORS headers for video streaming (restricted to own frontend)
|
||||||
add_header Access-Control-Allow-Origin https://${domain} always;
|
# add_header Access-Control-Allow-Origin https://${domain} always;
|
||||||
add_header Access-Control-Allow-Credentials "true" always;
|
# add_header Access-Control-Allow-Credentials "true" always;
|
||||||
|
|
||||||
proxy_buffering on;
|
proxy_buffering on;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user