lets encrypt my ass

This commit is contained in:
Osman Faruk Bayram 2025-11-05 13:58:18 +03:00
parent 649b84782e
commit a75dc9f0d2

View file

@ -8,6 +8,15 @@
(lib.mkIf config.osbmModules.services.nginx.enable {
services.nginx = {
enable = true;
# Ensure ACME challenge directory is accessible for all domains
commonHttpConfig = ''
# Allow access to ACME challenge directory
location /.well-known/acme-challenge {
root /var/lib/acme/acme-challenge;
allow all;
}
'';
};
networking.firewall.allowedTCPPorts = [