Update nextcloud.subdomain.conf.sample

HTTP header is not set to “SAMEORIGIN
This commit is contained in:
jlssmt 2023-02-06 12:28:51 +01:00 committed by GitHub
commit 307f5966c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,7 @@ server {
proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_hide_header X-Frame-Options; proxy_hide_header X-Frame-Options;
add_header X-Frame-Options "SAMEORIGIN";
proxy_max_temp_file_size 2048m; proxy_max_temp_file_size 2048m;
} }
} }