diff --git a/nixos/hosts/nixos-rpi4-03/temp.nix b/nixos/hosts/nixos-rpi4-03/temp.nix index 9cbb006a..0c9b86da 100644 --- a/nixos/hosts/nixos-rpi4-03/temp.nix +++ b/nixos/hosts/nixos-rpi4-03/temp.nix @@ -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/; + } + ''; }; }; } \ No newline at end of file