Fixed some nginx bugs
parent
3e303f678f
commit
d7d74235ad
|
@ -5,4 +5,4 @@ user nginx nginx;
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
|
|
||||||
# Load config segments
|
# Load config segments
|
||||||
include conf.d/*;
|
include conf.d/*.conf;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
# Renew all certificates
|
# Renew all certificates
|
||||||
for url in $(env | grep '^[^=]\+_DOMAIN=' | sed 's/^.*\?=\(.*\)$/\1/g') $(echo "$DOMAINS" | sed 's/,/ /g')
|
for url in $(env | grep '^[^=]\+_DOMAIN=' | sed 's/^.*\?=\(.*\)$/\1/g') $(echo "$DOMAINS" | sed 's/,/ /g')
|
||||||
do
|
do
|
||||||
cerbot certonly \
|
certbot certonly \
|
||||||
--standalone \
|
--standalone \
|
||||||
-d "$url" \
|
-d "$url" \
|
||||||
--email "$EMAIL" \
|
--email "$EMAIL" \
|
||||||
|
|
|
@ -26,5 +26,5 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
# LOAD SITES
|
# LOAD SITES
|
||||||
include sites-enabled/*.conf;
|
include conf.d/sites-enabled/*.conf;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue