Commit Graph

5 Commits

Author SHA1 Message Date
Philipp Rothmann 2be42d0a84 fix frame ancestors 2022-10-11 16:12:04 +02:00
yksflip 16ad6c22ea add headers to embed nextcloud in frame on external site (#28)
This introduces new env variables to configure nextloud to be embedded via
iframe on an external site.
Setting X_FRAME_OPTIONS_ENABLED=1 will configure nginx and nextcloud to
set X-Frame-Options and CSP headers to allow the domain configured in
X_FRAME_OPTIONS_ALLOW_FROM.

I created a PR because I'm not sure if this is helpful for other people or just a custom hack that bloats the recipe :D

Co-authored-by: Philipp Rothmann <philipprothmann@posteo.de>
Reviewed-on: coop-cloud/nextcloud#28
2022-09-02 14:32:04 +00:00
3wc 42c6e8d553 Working nginx config 2021-08-26 12:08:03 +02:00
3wc f71e43949a More FPM excitement 2021-08-26 12:08:03 +02:00
3wc a679bfbb0a Nginx 2021-08-26 11:23:19 +02:00