1
0
Fork 0
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:
Éric Gaspar 2023-12-21 13:53:03 +01:00
parent 568f40e489
commit ba1dc5982b

View file

@ -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";
}