From 311ee6355f67fd80a241b9d593df1a596db857f4 Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Mon, 30 Sep 2024 12:18:45 +0300 Subject: [PATCH] new wip demo conf --- inventory/demo-configuration.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/inventory/demo-configuration.nix b/inventory/demo-configuration.nix index d924f8d..79df389 100644 --- a/inventory/demo-configuration.nix +++ b/inventory/demo-configuration.nix @@ -6,8 +6,10 @@ { from = "host"; host.port = 8001; guest.port = 8001; } ]; networking.hosts = { - "10.0.2.15" = [ "hedgedoc.nixin.local" ]; + "127.0.0.1" = [ "hedgedoc.nixin.local" ]; }; + networking.hostName = "demo"; + #networking.firewall.enable = false; networking.firewall = { allowedTCPPorts = [ 8001 ]; }; @@ -15,8 +17,8 @@ enable = true; settings.domain = "hedgedoc.nixin.local"; settings.port = 8001; - settings.host = "10.0.2.15"; - settings.protocolUseSSL = true; + settings.host = "0.0.0.0"; + settings.protocolUseSSL = false; settings.allowOrigin = [ "localhost" "hedgedoc.nixin.local"