View lnmp-ssl-vhost.conf
server { | |
listen 80; | |
server_name example.suffix www.example.suffix; | |
location ^~ /.well-known/acme-challenge/ { | |
alias /home/wwwroot/www.example.suffix/.well-known/acme-challenge/; | |
try_files $uri = 404; | |
} | |
location / { |
View lnmp-letsencrypt.conf
# only modify the values, key files will be generated automaticly. | |
ACCOUNT_KEY="example-account.key" | |
DOMAIN_KEY="example.suffix.key" | |
DOMAIN_DIR="/home/wwwroot/example.suffix" | |
DOMAINS="DNS:example.suffix,DNS:www.example.suffix" | |
#ECC=TRUE | |
#LIGHTTPD=TRUE |
View www.lnmp-letsencrypt.conf
# only modify the values, key files will be generated automaticly. | |
ACCOUNT_KEY="example-account.key" | |
DOMAIN_KEY="example.suffix.key" | |
DOMAIN_DIR="/home/wwwroot/www.example.suffix" | |
DOMAINS="DNS:example.suffix,DNS:www.example.suffix" | |
#ECC=TRUE | |
#LIGHTTPD=TRUE |