This commit is contained in:
henry.chen
2017-04-03 01:18:46 +08:00
parent 6932799cba
commit 9296147a0f
2 changed files with 6 additions and 5 deletions

View File

@@ -147,7 +147,7 @@ server {
} }
location ^~ /.well-known/acme-challenge/ { location ^~ /.well-known/acme-challenge/ {
alias /home/jerry/www/challenges/; alias /data/letsencrypt/challenges/;
try_files $uri =404; try_files $uri =404;
} }

View File

@@ -10,7 +10,7 @@ worker_processes 1;
events { events {
worker_connections 1024; worker_connections 10240;
} }
@@ -23,6 +23,7 @@ http {
# '"$http_user_agent" "$http_x_forwarded_for"'; # '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main; #access_log logs/access.log main;
access_log off;
sendfile on; sendfile on;
tcp_nopush on; tcp_nopush on;