Nginx: Difference between revisions

imported>Makefu
add minimal example
imported>Bergey
enableSSL is deprecated. Suggest addSSL, so port 80 is available for initial ACME.
Line 9: Line 9:
services.nginx.enable = true;
services.nginx.enable = true;
services.nginx.virtualHosts."myhost.org" = {
services.nginx.virtualHosts."myhost.org" = {
     enableSSL = true;
     addSSL = true;
     enableACME = true;
     enableACME = true;
     root = "/var/www/myhost.org";
     root = "/var/www/myhost.org";