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; }
];
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"