-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathoptim.conf
More file actions
89 lines (64 loc) · 1.88 KB
/
Copy pathoptim.conf
File metadata and controls
89 lines (64 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
server {
listen 31.200.196.143:80;
listen 192.168.0.200:80;
server_name rebrain2.mtdlb.ru;
return 301 https://rebrain2.mtdlb.ru$request_uri;
}
server {
listen 31.200.196.143:443 ssl;
listen 192.168.0.200:443 ssl;
listen 31.200.196.143:443 http3;
listen 192.168.0.200:443 http3;
ssl_certificate /etc/ssl/certs/rebrain2.mtdlb.ru.rsa.pem;
ssl_certificate_key /etc/ssl/private/rebrain2.mtdlb.ru.rsa.key;
ssl_certificate /etc/ssl/certs/rebrain2.mtdlb.ru.ecdsa.pem;
ssl_certificate_key /etc/ssl/private/rebrain2.mtdlb.ru.ecdsa.key;
ssl_trusted_certificate /etc/ssl/certs/rebrain2.mtdlb.ru_chain.ecdsa.pem;
server_name rebrain2.mtdlb.ru;
charset utf-8;
location / {
add_header Alt-Svc 'h3=":443"; ma=86400';
proxy_pass http://127.0.0.1:9090/pcgi/index.pl?$uri?&$args;
proxy_read_timeout 60;
limit_req zone=ltwo burst=10 nodelay;
}
location /ajax {
proxy_pass http://127.0.0.1:9090/pcgi/ajax.pl?$uri?&$args;
limit_req zone=ltwo burst=10 nodelay;
}
root /home/httpd/optim/htdocs;
location = /robots.txt { root /etc/nginx; }
location /img {
include /etc/nginx/static-avif.conf;
}
location /images {
include /etc/nginx/static-avif.conf;
}
location /css {
include /etc/nginx/static.conf;
}
location /js {
include /etc/nginx/static.conf;
}
location /files {
include /etc/nginx/static.conf;
}
location /fonts {
include /etc/nginx/static.conf;
}
location /upload {
include /etc/nginx/static.conf;
}
location /out {
include /etc/nginx/static.conf;
}
location /favicon.ico {
include /etc/nginx/static.conf;
}
location /apple-touch-icon {
include /etc/nginx/static.conf;
}
location /.well-known {
}
include /etc/nginx/block-bots.conf;
}