Test
This commit is contained in:
parent
ad9af3c06b
commit
8d2815f7a3
1 changed files with 10 additions and 4 deletions
|
@ -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/;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue