Commit fce172edc6d2

Vincent Demeester <vincent@sbr.pm>
2019-01-25 15:27:38
carthage: add carthage.sbr.pm host and default index
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent f36f958
Changed files (1)
machine/carthage.nix
@@ -27,10 +27,21 @@ with import ../assets/machines.nix; {
   services = {
     nginx = {
       enable = true;
+      virtualHosts."carthage.sbr.pm" = {
+        enableACME = true;
+        forceSSL = true;
+        root = "/var/www/default";
+        locations."/" = {
+          index = "index";
+	};
+      };
       virtualHosts."sbr.pm" = {
         enableACME = true;
         forceSSL = true;
         root = "/var/www/default";
+        locations."/" = {
+          index = "index";
+	};
       };
     };
     openssh.ports = [ ssh.carthage.port ];