updated nginx config
All checks were successful
Build and Deploy Docker Image / build (push) Successful in 39s
All checks were successful
Build and Deploy Docker Image / build (push) Successful in 39s
This commit is contained in:
parent
2190b10090
commit
535c2550b0
1 changed files with 7 additions and 3 deletions
10
nginx.conf
10
nginx.conf
|
@ -24,11 +24,12 @@ http {
|
|||
#tcp_nopush on;
|
||||
|
||||
keepalive_timeout 65;
|
||||
server_tokens off;
|
||||
|
||||
#gzip on;
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
|
||||
# CloudFlare Ips
|
||||
real_ip_header CF-Connecting-IP;
|
||||
set_real_ip_from 173.245.48.0/20;
|
||||
set_real_ip_from 103.21.244.0/22;
|
||||
set_real_ip_from 103.22.200.0/22;
|
||||
|
@ -44,5 +45,8 @@ http {
|
|||
set_real_ip_from 104.24.0.0/14;
|
||||
set_real_ip_from 172.64.0.0/13;
|
||||
set_real_ip_from 131.0.72.0/22;
|
||||
real_ip_header CF-Connecting-IP;
|
||||
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue