add headers to embed nextcloud in frame on external site #28
No reviewers
Labels
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/nextcloud#28
Loading…
Reference in New Issue
No description provided.
Delete Branch "embed_nextcloud_in_iframe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
LGTM! I guess if someone needs it (you :)) then another might! It follows the usual dance of overriding things (i.e.
entrypoint.sh
) so it fits for me. I won't use this though so maybe someone else can weigh in. Feel free to merge imho.