1
1
user www-data;
2
-
3
2
worker_processes 1 ;
4
3
pid /var/run/nginx.pid;
5
-
6
4
events {
7
5
multi_accept on ;
8
- worker_connections 1024 ;
6
+ worker_connections 1024 ;
9
7
}
10
-
11
8
http {
12
9
gzip on ;
13
10
gzip_vary on ;
14
11
gzip_comp_level 5 ;
15
- gzip_types text/plain application/x-javascript text/xml text/css;
16
-
12
+ gzip_types text/plain application/x-javascript text/xml text/css;
17
13
autoindex on ;
18
- sendfile on ;
19
- tcp_nopush on ;
20
- tcp_nodelay on ;
21
- keepalive_timeout 65 ;
22
- types_hash_max_size 2048 ;
23
- server_tokens off ;
24
- include /etc/nginx/mime.types;
25
- default_type application/octet-stream;
26
- access_log /var/log/nginx/access.log;
27
- error_log /var/log/nginx/error.log;
28
- client_max_body_size 32M ;
14
+ sendfile on ;
15
+ tcp_nopush on ;
16
+ tcp_nodelay on ;
17
+ keepalive_timeout 65 ;
18
+ types_hash_max_size 2048 ;
19
+ server_tokens off ;
20
+ include /etc/nginx/mime.types;
21
+ default_type application/octet-stream;
22
+ access_log /var/log/nginx/access.log;
23
+ error_log /var/log/nginx/error.log;
24
+ client_max_body_size 32M ;
29
25
client_header_buffer_size 8m ;
30
26
large_client_header_buffers 8 8m ;
31
-
32
27
fastcgi_buffer_size 8m ;
33
28
fastcgi_buffers 8 8m ;
34
-
35
29
fastcgi_read_timeout 600 ;
36
-
37
- set_real_ip_from 204.93.240.0 /24 ;
38
- set_real_ip_from 204.93.177.0 /24 ;
30
+ #CloudFlare IPv4
39
31
set_real_ip_from 199.27.128.0 /21 ;
40
32
set_real_ip_from 173.245.48.0 /20 ;
41
33
set_real_ip_from 103.21.244.0 /22 ;
@@ -47,7 +39,15 @@ http {
47
39
set_real_ip_from 188.114.96.0 /20 ;
48
40
set_real_ip_from 197.234.240.0 /22 ;
49
41
set_real_ip_from 198.41.128.0 /17 ;
50
- real_ip_header CF-Connecting-IP;
51
-
52
- include /etc/nginx/conf.d/*.conf;
53
- }
42
+ set_real_ip_from 162.158.0.0 /15 ;
43
+ set_real_ip_from 104.16.0.0 /12 ;
44
+ #Incapsula
45
+ set_real_ip_from 199.83.128.0 /21 ;
46
+ set_real_ip_from 198.143.32.0 /19 ;
47
+ set_real_ip_from 149.126.72.0 /21 ;
48
+ set_real_ip_from 103.28.248.0 /22 ;
49
+ set_real_ip_from 45.64.64.0 /22 ;
50
+ set_real_ip_from 185.11.124.0 /22 ;
51
+ set_real_ip_from 192.230.64.0 /18 ;
52
+ real_ip_header CF-Connecting-IP;
53
+ include /etc/nginx/conf.d/*.conf;
0 commit comments