remove X-Frame-Options header for Nextcloud 16 and 15

This commit is contained in:
hoellen 2019-09-30 22:44:50 +02:00
parent ea069ac4bb
commit f0e27e1f58
2 changed files with 4 additions and 2 deletions

View File

@ -68,7 +68,8 @@ RUN apk -U upgrade \
COPY rootfs / COPY rootfs /
RUN chmod +x /usr/local/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* RUN chmod +x /usr/local/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* \
&& sed -i '/SAMEORIGIN/d' /nginx/sites-enabled/nginx.conf
VOLUME /data /config /apps2 /nextcloud/themes VOLUME /data /config /apps2 /nextcloud/themes

View File

@ -68,7 +68,8 @@ RUN apk -U upgrade \
COPY rootfs / COPY rootfs /
RUN chmod +x /usr/local/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* RUN chmod +x /usr/local/bin/* /etc/s6.d/*/* /etc/s6.d/.s6-svscan/* \
&& sed -i '/SAMEORIGIN/d' /nginx/sites-enabled/nginx.conf
VOLUME /data /config /apps2 /nextcloud/themes VOLUME /data /config /apps2 /nextcloud/themes