feat(nixos): cut over Gitea to Pikachu
This commit is contained in:
1 parent
c6ccae1714
commit
a28ecf6040
4 files changed
+9
-16
No files matched your search
@@ -33,10 +33,9 @@ let
|
||||
});
|
||||
|
||||
extraTargets = {
|
||||
# TODO: Pin Gitea's host key after migrating it from Proxmox.
|
||||
# TODO: Pin Gitea's host key after deploying its Pikachu guest.
|
||||
gitea = {
|
||||
hostName = "git.alexion.dev";
|
||||
port = 2022;
|
||||
user = "gitea";
|
||||
aliases = [
|
||||
"gitea"
|
||||
|
||||
@@ -57,15 +57,8 @@ in
|
||||
SSH_LISTEN_PORT = 2222;
|
||||
REVERSE_PROXY_TRUSTED_PROXIES = "${cfg.reverseProxyAddress}/32";
|
||||
};
|
||||
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;
|
||||
# Direct bootstrap access uses HTTP until the public HTTPS route moves.
|
||||
session.COOKIE_SECURE = false;
|
||||
session.COOKIE_SECURE = true;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user