File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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;
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments