mirror of
https://github.com/materusPL/nixos-config
synced 2025-06-25 17:44:28 +02:00
waffentrager: allow iframe of gitea from nextcloud
This commit is contained in:
parent
f242dd700d
commit
45d7f70792
@ -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/";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user