This commit is contained in:
iFargle 2023-10-08 10:13:09 +09:00
parent ad9af3c06b
commit 8d2815f7a3

View file

@ -3,10 +3,16 @@
services.nginx = {
enable = true;
virtualHosts = {
"*" = {
root = "/var/www/test";
};
httpConfig = ''
index index.html;
server {
listen 80 default_server;
server_name _;
access_log logs/test.access.log main;
server_name_in_redirect off;
root /var/www/test/;
}
'';
};
};
}