comparison nginx.conf @ 0:dfc36e7ed22c

init
author Vadim Filimonov <fffilimonov@yandex.ru>
date Thu, 12 May 2022 13:51:59 +0400
parents
children bbafc54bbd26
comparison
equal deleted inserted replaced
-1:000000000000 0:dfc36e7ed22c
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 }