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;
|
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;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user