new wip demo conf
This commit is contained in:
parent
6b600b6745
commit
311ee6355f
1 changed files with 5 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue