Allow nextcloud into other app iframes
parent
da162f0b00
commit
ee3d400279
4
Makefile
4
Makefile
|
@ -101,6 +101,10 @@ add-plugins:
|
||||||
docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:app:set onlyoffice jwt_header --value="Authorization"
|
docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:app:set onlyoffice jwt_header --value="Authorization"
|
||||||
docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:system:set allow_local_remote_servers --value=true
|
docker exec -u www-data isard-apps-nextcloud-app php occ --no-warnings config:system:set allow_local_remote_servers --value=true
|
||||||
|
|
||||||
|
# Allow nextcloud into other apps iframes
|
||||||
|
# Content-Security-Policy: frame-ancestors 'self' *.$$DOMAIN;
|
||||||
|
docker exec -ti isard-apps-nextcloud-app sed -ie "/protected \\\$$allowedFrameAncestors = \[/{n;s/\('\\\\\'self\\\\\'\)\('\)/\1 *.$$DOMAIN\2/}" /var/www/html/lib/public/AppFramework/Http/ContentSecurityPolicy.php
|
||||||
|
|
||||||
# default labels
|
# default labels
|
||||||
echo "INSERT INTO oc_systemtag (name, editable) VALUES ('nombre etiqueta', 0);" | docker exec -i isard-apps-postgresql psql -U admin -d nextcloud
|
echo "INSERT INTO oc_systemtag (name, editable) VALUES ('nombre etiqueta', 0);" | docker exec -i isard-apps-postgresql psql -U admin -d nextcloud
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue