fix(nixos): allow Gitea migration redirects
This commit is contained in:
1 parent
aee5dc4e4d
commit
c6ccae1714
1 file changed
+6
-1
@@ -57,7 +57,12 @@ in
|
|||||||
SSH_LISTEN_PORT = 2222;
|
SSH_LISTEN_PORT = 2222;
|
||||||
REVERSE_PROXY_TRUSTED_PROXIES = "${cfg.reverseProxyAddress}/32";
|
REVERSE_PROXY_TRUSTED_PROXIES = "${cfg.reverseProxyAddress}/32";
|
||||||
};
|
};
|
||||||
migrations.ALLOWED_HOST_LIST = "git.alexion.dev:443,10.23.20.109/32:443";
|
migrations.ALLOWED_HOST_LIST = lib.concatStringsSep "," [
|
||||||
|
"git.alexion.dev:80"
|
||||||
|
"git.alexion.dev:443"
|
||||||
|
"10.23.20.109/32:80"
|
||||||
|
"10.23.20.109/32:443"
|
||||||
|
];
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
# Direct bootstrap access uses HTTP until the public HTTPS route moves.
|
# Direct bootstrap access uses HTTP until the public HTTPS route moves.
|
||||||
session.COOKIE_SECURE = false;
|
session.COOKIE_SECURE = false;
|
||||||
|
|||||||
Reference in new issue
Block a user