diff --git a/hosts/tanzanite/default.nix b/hosts/tanzanite/default.nix index 2c4e44c..0130f96 100644 --- a/hosts/tanzanite/default.nix +++ b/hosts/tanzanite/default.nix @@ -37,6 +37,7 @@ in { forceSSL = true; root = "/opt/www/stitchy.moe/public"; extraConfig = '' + add_header 'Access-Control-Allow-Origin' '*' always; error_page 404 /404.html; location = /404.html { internal; @@ -57,6 +58,13 @@ in { proxyPass = "http://127.0.0.1:9008"; }; }; + "syncv3.stitchy.moe" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:8008"; + }; + }; }; };