about summary refs log tree commit diff
path: root/nix/hosts/corrino/www
diff options
context:
space:
mode:
authorEmile <git@emile.space>2025-04-11 19:38:50 +0200
committerEmile <git@emile.space>2025-04-11 19:38:50 +0200
commitc23540e055fe05f9cca72361c175d29db96dffdd (patch)
tree1eedec3d386df1b8e59103fab2366fdaefe20e96 /nix/hosts/corrino/www
parent17cd46af8b1c091a63c90be63425239c81a3e0dc (diff)
(corrino) md. now with v6!
Diffstat (limited to 'nix/hosts/corrino/www')
-rw-r--r--nix/hosts/corrino/www/md.emile.space.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nix/hosts/corrino/www/md.emile.space.nix b/nix/hosts/corrino/www/md.emile.space.nix
index 6088ea0..95f27b1 100644
--- a/nix/hosts/corrino/www/md.emile.space.nix
+++ b/nix/hosts/corrino/www/md.emile.space.nix
@@ -6,7 +6,7 @@
     enableACME = true;
     locations = {
       "/" = {
-        proxyPass = "http://127.0.0.1:${toString config.services.hedgedoc.settings.port}";
+        proxyPass = "http://[${config.services.hedgedoc.settings.host}]:${toString config.services.hedgedoc.settings.port}";
       };
     };
   };
@@ -47,7 +47,7 @@
     environmentFile = config.age.secrets.hedgedoc_environment_variables.path;
 
     settings = {
-      host = "127.0.0.1";
+      host = "::1";
       port = config.emile.ports.md;
 
       domain = "md.emile.space";