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:
parent
91dfc7b0c9
commit
2b61e5420f
@ -12,8 +12,8 @@ with lib; {
|
||||
services.nginx.enable = true;
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
services.nginx.virtualHosts."localhost" = {
|
||||
addSSL = false;
|
||||
enableACME = false;
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
root = "/var/www/localhost";
|
||||
default = true;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user