From 025019b5441a424a059d1c2a29cc09935c2b8d90 Mon Sep 17 00:00:00 2001 From: Stepan Vladovskiy Date: Tue, 28 Nov 2023 14:20:19 -0300 Subject: [PATCH] feat: add ACME location --- nginx.conf.sigil | 8 ++++++++ 1 file changed, 8 insertions(+) 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;