summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2021-04-04 08:42:41 +0200
committermakefu <github@syntax-fehler.de>2021-04-04 08:42:41 +0200
commita05435c26acb078972a8f264d9aa2b519755958c (patch)
tree26d1484271f13606eb71c4c7ea656e19070fdd4b /makefu/2configs
parentfb85949a67153db38606537e001f8bbaa481a48f (diff)
ma workadventure: useACMEHost
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/workadventure/workadventure.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/makefu/2configs/workadventure/workadventure.nix b/makefu/2configs/workadventure/workadventure.nix
index 2b7eca250..02680aa77 100644
--- a/makefu/2configs/workadventure/workadventure.nix
+++ b/makefu/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}";