Use wildcard

This commit is contained in:
Invariantspace 2023-12-06 23:34:51 -08:00
parent a7e892635c
commit 65416105db
4 changed files with 15 additions and 15 deletions

View file

@ -3,10 +3,10 @@
{
services.matrix-conduit = {
enable = true;
settings.global = let const = config.constants; in {
address = const.tsMask;
port = const.port.conduit;
server_name = config.constants.domain;
settings.global = with config.constants; {
address = wildcard;
port = port.conduit;
server_name = domain;
};
};
}

View file

@ -6,11 +6,11 @@
appName = "Forgejo";
package = pkgs.forgejo;
settings = {
server = let const = config.constants; in {
DOMAIN = const.domain;
HTTP_ADDR = const.tsMask;
HTTP_PORT = const.port.forgejo;
ROOT_URL = "https://forgejo.${const.domain}";
server = with config.constants; {
DOMAIN = domain;
HTTP_ADDR = wildcard;
HTTP_PORT = port.forgejo;
ROOT_URL = "https://forgejo.${domain}";
};
service.DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true;