{pkgs, ...}: { services.nginx = { enable = true; virtualHosts = { "phanpy.gladtherescake.eu" = { root = "${pkgs.phanpy}"; ## Force HTTP redirect to HTTPS forceSSL = true; ## LetsEncrypt enableACME = true; locations."/" = { index = "index.html"; }; }; }; }; }