pruflas: add web server
This commit is contained in:
parent
4607ebdd98
commit
103d849791
1 changed files with 12 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue