mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update nginx.conf
This commit is contained in:
parent
568f40e489
commit
ba1dc5982b
1 changed files with 2 additions and 2 deletions
|
@ -130,9 +130,9 @@ location ~ ^/api/.*$ {
|
|||
|
||||
# These settings prevent both NGINX and the API server
|
||||
# from setting the same headers and creating duplicates
|
||||
proxy_hide_header Cross-Origin-Resource-Policy;
|
||||
proxy_hide_header "Cross-Origin-Resource-Policy";
|
||||
more_set_headers "Cross-Origin-Resource-Policy: cross-origin";
|
||||
proxy_hide_header Cross-Origin-Embedder-Policy;
|
||||
proxy_hide_header "Cross-Origin-Embedder-Policy";
|
||||
more_set_headers "Cross-Origin-Embedder-Policy: require-corp";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue