new wip demo conf

This commit is contained in:
Florian Schmitt 2024-09-30 12:18:45 +03:00
parent 6b600b6745
commit 311ee6355f

View file

@ -6,8 +6,10 @@
{ from = "host"; host.port = 8001; guest.port = 8001; } { from = "host"; host.port = 8001; guest.port = 8001; }
]; ];
networking.hosts = { 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 = { networking.firewall = {
allowedTCPPorts = [ 8001 ]; allowedTCPPorts = [ 8001 ];
}; };
@ -15,8 +17,8 @@
enable = true; enable = true;
settings.domain = "hedgedoc.nixin.local"; settings.domain = "hedgedoc.nixin.local";
settings.port = 8001; settings.port = 8001;
settings.host = "10.0.2.15"; settings.host = "0.0.0.0";
settings.protocolUseSSL = true; settings.protocolUseSSL = false;
settings.allowOrigin = [ settings.allowOrigin = [
"localhost" "localhost"
"hedgedoc.nixin.local" "hedgedoc.nixin.local"