Nginx
Sample setups
Static blog with ssl enforced in configuration.nix
services.nginx = { enable = true; virtualHosts."blog.example.com" = { enableSSL = true; enableACME = true; forceSSL = true; root = "/var/www/blog"; }; };
Static blog with ssl enforced in configuration.nix
services.nginx = { enable = true; virtualHosts."blog.example.com" = { enableSSL = true; enableACME = true; forceSSL = true; root = "/var/www/blog"; }; };