mirror of
https://github.com/diafygi/acme-tiny
synced 2026-10-07 10:01:56 +03:00
Fix nginx server_name directive syntax (no commas).
This commit is contained in:
@@ -129,7 +129,7 @@ configure an nginx server:
|
||||
```nginx
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name yoursite.com, www.yoursite.com;
|
||||
server_name yoursite.com www.yoursite.com;
|
||||
|
||||
ssl_certificate /path/to/signed_chain.crt;
|
||||
ssl_certificate_key /path/to/domain.key;
|
||||
@@ -145,7 +145,7 @@ server {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name yoursite.com, www.yoursite.com;
|
||||
server_name yoursite.com www.yoursite.com;
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
alias /var/www/challenges/;
|
||||
|
||||
Reference in New Issue
Block a user