summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/nginx
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-04-04 14:39:03 +0200
committermakefu <github@syntax-fehler.de>2018-04-04 14:39:03 +0200
commitc6b4c7920fd9c0eb11f3bd3c5602980934fafd20 (patch)
tree891112e55baae17da79b96b6a0a9e3af3fb9ab3b /makefu/2configs/nginx
parenta64238e7660ab92c7dcdf33d13ee4222bfe5eadf (diff)
ma gum.r: handle new domain
Diffstat (limited to 'makefu/2configs/nginx')
-rw-r--r--makefu/2configs/nginx/misa-felix-hochzeit.ml.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix b/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix
new file mode 100644
index 000000000..d0881a934
--- /dev/null
+++ b/makefu/2configs/nginx/misa-felix-hochzeit.ml.nix
@@ -0,0 +1,17 @@
+{ config, lib, pkgs, ... }:
+{
+ services.nginx = {
+ enable = lib.mkDefault true;
+ virtualHosts."misa-felix-hochzeit.ml" = {
+ serverAliases = [ "www.misa-felix-hochzeit.ml" "misa-felix.ml" "www.misa-felix.ml" ];
+ forceSSL = true;
+ enableACME = true;
+ locations = {
+ "/" = {
+ index = "index.html";
+ root = "/var/www/misa-felix-hochzeit.ml";
+ };
+ };
+ };
+ };
+}