diff options
author | makefu <github@syntax-fehler.de> | 2021-04-04 08:42:41 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2021-04-04 08:42:41 +0200 |
commit | dc8d28e2b93ea94ab03b7d45c6d1c4de2cbd4f5c (patch) | |
tree | d14212a6119237d0be73ecf2e64033220fb487c9 /2configs | |
parent | 384c509c3d8fbe1dc48ea1d4499ebc85855e203d (diff) |
ma workadventure: useACMEHost
Diffstat (limited to '2configs')
-rw-r--r-- | 2configs/workadventure/workadventure.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/2configs/workadventure/workadventure.nix b/2configs/workadventure/workadventure.nix index 2b7eca250..02680aa77 100644 --- a/2configs/workadventure/workadventure.nix +++ b/2configs/workadventure/workadventure.nix @@ -60,7 +60,7 @@ in { }; virtualisation.oci-containers.backend = "docker"; - + security.acme.certs."${domain}".extraDomainNames = [ apiURL frontURL pusherURL uploaderURL ]; services.nginx.virtualHosts."${domain}" = { enableACME = true; forceSSL = true; @@ -82,7 +82,7 @@ in { extraOptions = [ "--network=workadventure" ]; }; services.nginx.virtualHosts."${frontURL}" = { - enableACME = true; + useACMEHost = domain; forceSSL = true; locations."/" = { proxyPass = "http://127.0.0.1:${toString frontPort}"; }; }; @@ -99,7 +99,7 @@ in { extraOptions = [ "--network=workadventure" ]; }; services.nginx.virtualHosts."${pusherURL}" = { - enableACME = true; + useACMEHost = domain; forceSSL = true; locations."/" = { proxyPass = "http://127.0.0.1:${toString pusherPort}"; @@ -123,7 +123,7 @@ in { extraOptions = [ "--network=workadventure" ]; }; services.nginx.virtualHosts."${apiURL}" = { - enableACME = true; + useACMEHost = domain; forceSSL = true; locations."/" = { proxyPass = "http://127.0.0.1:${toString apiPort}"; }; }; @@ -134,7 +134,7 @@ in { extraOptions = [ "--network=workadventure" ]; }; services.nginx.virtualHosts."${uploaderURL}" = { - enableACME = true; + useACMEHost = domain; forceSSL = true; locations."/" = { proxyPass = "http://127.0.0.1:${toString uploaderPort}"; |