diff --git a/nginx.conf.sigil b/nginx.conf.sigil index e831f3e6..80859d98 100644 --- a/nginx.conf.sigil +++ b/nginx.conf.sigil @@ -40,6 +40,14 @@ server { } } + location ~ /.well-known/acme-challenge { + allow all; + root /var/www/html; # Adjust this to the correct path where challenge files are stored + default_type "text/plain"; + try_files $uri =404; + } + + client_max_body_size 100m; include /home/dokku/{{ $.APP }}/nginx.conf.d/*.conf;