aboutsummaryrefslogtreecommitdiff
path: root/hosts/tower/web/static.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/tower/web/static.nix')
-rw-r--r--hosts/tower/web/static.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/hosts/tower/web/static.nix b/hosts/tower/web/static.nix
new file mode 100644
index 0000000..d73d566
--- /dev/null
+++ b/hosts/tower/web/static.nix
@@ -0,0 +1,12 @@
+{ ... }:
+{
+ services.nginx = {
+ enable = true;
+
+ virtualHosts."static.sorre.xyz" = {
+ # enableACME = true;
+ # forceSSL = true;
+ root = "/var/www/static";
+ };
+ };
+}