fix: piped cors header
This commit is contained in:
parent
794d5c2dad
commit
5d54ae898e
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue