annotate nginx.conf @ 19:a90e510ccc4f

fix restart/move logs
author Vadim Filimonov <fffilimonov@yandex.ru>
date Mon, 05 Aug 2024 11:29:06 +0300
parents bbafc54bbd26
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
1 worker_processes 4;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
2
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
3 events {
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
4 worker_connections 4096;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
5 }
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
6
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
7 http {
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
8 include mime.types;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
9 default_type application/octet-stream;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
10 sendfile on;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
11 keepalive_timeout 65;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
12 resolver 8.8.8.8 1.1.1.1 valid=600s;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
13 resolver_timeout 10s;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
14
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
15 access_log off;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
16 error_log off;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
17
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
18 server {
11
bbafc54bbd26 fix ssl renew
Vadim Filimonov <fffilimonov@yandex.ru>
parents: 0
diff changeset
19 listen 80;
0
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
20 include nginx.default.conf;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
21 include config/nginx.custom.*.conf;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
22 include config/nginx.conf;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
23 }
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
24 include config/nginx.ssl.*.conf;
Vadim Filimonov <fffilimonov@yandex.ru>
parents:
diff changeset
25 }