pruflas: add web server

This commit is contained in:
Tim Schubert 2022-10-07 23:15:46 +02:00
parent 4607ebdd98
commit 103d849791
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -44,7 +44,19 @@ in
appendHttpConfig = '' appendHttpConfig = ''
access_log off; access_log off;
''; '';
virtualHosts."pruflas.uwu" = {
enableACME = false;
forceSSL = false;
root = "/var/www/pruflas.uwu";
index = "index.html";
locations."/".tryFiles = "$uri $uri/ = 404";
}; };
};
systemd.tmpfiles.rules = [
"d /var/www/pruflas.uwu 0551 nginx nginx - -"
];
dadada.admin.enable = true; dadada.admin.enable = true;