config/systems/x86_64-linux/pluto/services/nginx.nix

14 lines
290 B
Nix
Raw Normal View History

2024-05-03 15:40:27 -04:00
{pkgs, ...}: {
services.nginx = {
enable = true;
package = pkgs.nginxStable.override {openssl = pkgs.libressl;};
2024-05-05 21:51:47 -04:00
recommendedProxySettings = true;
2024-05-03 15:40:27 -04:00
virtualHosts = {
2024-05-03 18:27:09 -04:00
"node.nyc.zackmyers.io" = {
forceSSL = true;
enableACME = true;
};
2024-05-03 15:40:27 -04:00
};
};
}