diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 6f321f0..c3e3167 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -5,4 +5,4 @@ user nginx nginx; worker_processes auto; # Load config segments -include conf.d/*; +include conf.d/*.conf; diff --git a/nginx/nginx/entrypoint.sh b/nginx/nginx/entrypoint.sh index bd2df4c..1205a79 100755 --- a/nginx/nginx/entrypoint.sh +++ b/nginx/nginx/entrypoint.sh @@ -6,7 +6,7 @@ # Renew all certificates for url in $(env | grep '^[^=]\+_DOMAIN=' | sed 's/^.*\?=\(.*\)$/\1/g') $(echo "$DOMAINS" | sed 's/,/ /g') do - cerbot certonly \ + certbot certonly \ --standalone \ -d "$url" \ --email "$EMAIL" \ diff --git a/nginx/templates/http.conf.template b/nginx/templates/http.conf.template index ae69504..bd928c6 100644 --- a/nginx/templates/http.conf.template +++ b/nginx/templates/http.conf.template @@ -26,5 +26,5 @@ http { } # LOAD SITES - include sites-enabled/*.conf; + include conf.d/sites-enabled/*.conf; }