nix/nixos/hosts/nixos-rpi4-03/temp.nix
2023-10-08 17:22:10 +09:00

16 lines
No EOL
414 B
Nix

{pkgs, lib, config, ...}: {
networking.firewall.interface.wireguard0.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
httpConfig = ''
index index.html;
server {
listen 80 default_server;
server_name _;
server_name_in_redirect off;
root /var/www/test;
}
'';
};
}