Use wildcard
This commit is contained in:
parent
a7e892635c
commit
65416105db
4 changed files with 15 additions and 15 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue