a
This commit is contained in:
11
module.nix
11
module.nix
@@ -96,7 +96,6 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
database.type = "sqlite3";
|
database.type = "sqlite3";
|
||||||
host = "${cfg.subdomain}.${sp.domain}";
|
host = "${cfg.subdomain}.${sp.domain}";
|
||||||
nginx.enable = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
server.port = 8081;
|
server.port = 8081;
|
||||||
app = {
|
app = {
|
||||||
@@ -144,6 +143,16 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."${cfg.subdomain}.${sp.domain}" = {
|
||||||
|
useACMEHost = sp.domain;
|
||||||
|
forceSSL = true;
|
||||||
|
locations = {
|
||||||
|
"/" = {
|
||||||
|
proxyPass = "http://127.0.0.1:8081";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
selfprivacy.auth.clients.${oauthClientID} = {
|
selfprivacy.auth.clients.${oauthClientID} = {
|
||||||
inherit usersGroup;
|
inherit usersGroup;
|
||||||
subdomain = cfg.subdomain;
|
subdomain = cfg.subdomain;
|
||||||
|
|||||||
Reference in New Issue
Block a user