Fixed some nginx bugs
parent
3e303f678f
commit
d7d74235ad
|
@ -5,4 +5,4 @@ user nginx nginx;
|
|||
worker_processes auto;
|
||||
|
||||
# Load config segments
|
||||
include conf.d/*;
|
||||
include conf.d/*.conf;
|
||||
|
|
|
@ -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" \
|
||||
|
|
|
@ -26,5 +26,5 @@ http {
|
|||
}
|
||||
|
||||
# LOAD SITES
|
||||
include sites-enabled/*.conf;
|
||||
include conf.d/sites-enabled/*.conf;
|
||||
}
|
||||
|
|
Reference in New Issue