add headers to embed nextcloud in frame on external site #28

Merged
yksflip merged 1 commits from embed_nextcloud_in_iframe into main 2022-09-02 14:32:05 +00:00

1 Commits

Author SHA1 Message Date
Philipp Rothmann e8a8f636d0 add headers to embed nextcloud in frame on external site
continuous-integration/drone/pr Build is failing Details
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.
2022-08-31 15:40:18 +02:00