codimd fix up

This commit is contained in:
Ingolf Wagner 2021-02-11 20:43:54 +01:00
parent e18938def9
commit 6511ee66dd
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 13 additions and 1 deletions

View file

@ -2,6 +2,18 @@
services.nginx.enable = true; services.nginx.enable = true;
services.nginx.virtualHosts.codimd = { services.nginx.virtualHosts.codimd = {
listen = [
{
addr = "0.0.0.0";
port = 4443;
ssl = true;
}
{
addr = "0.0.0.0";
port = 80;
ssl = false;
}
];
enableACME = true; enableACME = true;
addSSL = true; addSSL = true;
serverName = "codimd.ingolf-wagner.de"; serverName = "codimd.ingolf-wagner.de";

View file

@ -6,7 +6,7 @@
./nginx.nix ./nginx.nix
./tinc.nix ./tinc.nix
#./codimd.nix ./codimd.nix
#./syncplay.nix #./syncplay.nix
#./mail-server.nix #./mail-server.nix