Is there an existing issue for this?
Current Behavior
The default Nextcloud proxy configuration does not pass the Nextcloud security checker. In the current version of Nextcloud contrary to PR #501, the proxy_hide_header X-Frame-Options directive causes the security checks to fail. If this is commented out the security check pass, since the current version of Nextcloud seems to send that header to SWAG already. This would remove the need to uncomment the add_header X-Frame-Options "SAMEORIGIN" always; directive in ssl.conf and provide a secure Nextcloud experience Out of the box.
Expected Behavior
No response
Steps To Reproduce
- Setup the latest version of Nextcloud (26) (lscr.io/linuxserver/nextcloud)
- Setup the latest version of Swag (lscr.io/linuxserver/swag) with all default settings, except for enabling the nextcloud proxy conf
- Run the nextcloud security check
/settings/admin/overview
- It will fail complaining about the X-Frame-Options header
Is there an existing issue for this?
Current Behavior
The default Nextcloud proxy configuration does not pass the Nextcloud security checker. In the current version of Nextcloud contrary to PR #501, the
proxy_hide_header X-Frame-Optionsdirective causes the security checks to fail. If this is commented out the security check pass, since the current version of Nextcloud seems to send that header to SWAG already. This would remove the need to uncomment theadd_header X-Frame-Options "SAMEORIGIN" always;directive inssl.confand provide a secure Nextcloud experience Out of the box.Expected Behavior
No response
Steps To Reproduce
/settings/admin/overview