waffentrager: allow iframe of gitea from nextcloud

This commit is contained in:
Mateusz Słodkowicz 2024-03-25 21:56:28 +01:00
parent f242dd700d
commit 45d7f70792
Signed by: materus
GPG Key ID: 28D140BCA60B4FD1
1 changed files with 5 additions and 0 deletions

View File

@ -20,6 +20,11 @@
services.gitea.settings.server.DOMAIN = "baka.materus.pl";
services.gitea.settings.server.ROOT_URL = lib.mkForce "https://baka.materus.pl/";
services.gitea.settings.server.PROTOCOL = "fcgi+unix";
services.gitea.settings.cors = {
ENABLED = true;
X_FRAME_OPTIONS = "ALLOW-FROM https://*.materus.pl/";
};
services.gitea.database.type = "postgres";
services.gitea.database.socket = "/var/run/postgresql/";