mob next [ci-skip] [ci skip] [skip ci]
lastFile:machines/rigel/services/pocket-id.nix
This commit is contained in:
@@ -13,6 +13,6 @@
|
||||
security.acme.defaults.email = "admin@b4l.co.th";
|
||||
security.acme.acceptTerms = true;
|
||||
services.nginx.virtualHosts."${config.networking.fqdn}" = {
|
||||
enableACME = true;
|
||||
# enableACME = true;
|
||||
};
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{ config, ... }:
|
||||
let
|
||||
pidDomain = "${config.clan.core.vars.generators.rigel-pocket-id.files.subdomain.value}.${config.networking.fqdn}";
|
||||
pidDomain = "${config.networking.fqdn}";
|
||||
in
|
||||
{
|
||||
clan.core.vars.generators.rigel-pocket-id = {
|
||||
@@ -27,8 +27,8 @@ in
|
||||
|
||||
services.nginx.enable = true;
|
||||
services.nginx.virtualHosts."${pidDomain}" = {
|
||||
useACMEHost = "${config.networking.fqdn}";
|
||||
forceSSL = true;
|
||||
# useACMEHost = "${config.networking.fqdn}";
|
||||
# forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${builtins.toString config.services.pocket-id.settings.PORT}";
|
||||
};
|
||||
|
Reference in New Issue
Block a user