1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Add SSL to test-site (ellmauthaler.net)

This commit is contained in:
Stefan Ellmauthaler 2022-08-22 17:13:29 +02:00
parent 91dfc7b0c9
commit 2b61e5420f
Signed by: ellmau
GPG Key ID: C804A9C1B7AF8256

View File

@ -12,8 +12,8 @@ with lib; {
services.nginx.enable = true; services.nginx.enable = true;
networking.firewall.allowedTCPPorts = [80 443]; networking.firewall.allowedTCPPorts = [80 443];
services.nginx.virtualHosts."localhost" = { services.nginx.virtualHosts."localhost" = {
addSSL = false; addSSL = true;
enableACME = false; enableACME = true;
root = "/var/www/localhost"; root = "/var/www/localhost";
default = true; default = true;
}; };