Skip to content

Commit f6d6c03

Browse files
committed
Re-include comment about NC security scans
Signed-off-by: Eric Nemchik <[email protected]>
1 parent cc22ea5 commit f6d6c03

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

nextcloud.subdomain.conf.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ server {
3333
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
3434

3535
# Hide proxy response headers from Nextcloud that conflict with ssl.conf
36+
# Uncomment the Optional additional headers in SWAG's ssl.conf to pass Nextcloud's security scan
3637
proxy_hide_header Referrer-Policy;
3738
proxy_hide_header X-Content-Type-Options;
3839
proxy_hide_header X-Frame-Options;

nextcloud.subfolder.conf.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ location ^~ /nextcloud/ {
4040
proxy_ssl_session_reuse off;
4141

4242
# Hide proxy response headers from Nextcloud that conflict with ssl.conf
43+
# Uncomment the Optional additional headers in SWAG's ssl.conf to pass Nextcloud's security scan
4344
proxy_hide_header Referrer-Policy;
4445
proxy_hide_header X-Content-Type-Options;
4546
proxy_hide_header X-Frame-Options;

0 commit comments

Comments
 (0)