0
|
1 worker_processes 4;
|
|
2
|
|
3 events {
|
|
4 worker_connections 4096;
|
|
5 }
|
|
6
|
|
7 http {
|
|
8 include mime.types;
|
|
9 default_type application/octet-stream;
|
|
10 sendfile on;
|
|
11 keepalive_timeout 65;
|
|
12 resolver 8.8.8.8 1.1.1.1 valid=600s;
|
|
13 resolver_timeout 10s;
|
|
14
|
|
15 access_log off;
|
|
16 error_log off;
|
|
17
|
|
18 server {
|
|
19 listen 80;
|
|
20 location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" {
|
|
21 default_type text/plain;
|
|
22 return 200 "$1.ZVfdXrOoSbmeTJ4l7OuY0SI388jxO8JHcxGPdqM1Jgk";
|
|
23 }
|
|
24
|
|
25 include nginx.default.conf;
|
|
26 include config/nginx.custom.*.conf;
|
|
27 include config/nginx.conf;
|
|
28 }
|
|
29 include config/nginx.ssl.*.conf;
|
|
30 }
|