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/ {
alias /home/jerry/www/challenges/;
alias /data/letsencrypt/challenges/;
try_files $uri =404;
}

View File

@@ -10,19 +10,20 @@ worker_processes 1;
events {
worker_connections 1024;
worker_connections 10240;
}
http {
include mime.types;
default_type application/octet-stream;
charset UTF-8;
include mime.types;
default_type application/octet-stream;
charset UTF-8;
#log_format main '$remote_addr - $remote_user [$time_local] "$request" '
# '$status $body_bytes_sent "$http_referer" '
# '"$http_user_agent" "$http_x_forwarded_for"';
#access_log logs/access.log main;
access_log off;
sendfile on;
tcp_nopush on;