nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512


Problem: [UFW BLOCK] IN=ens160 OUT= MAC=Address SRC=IP
 DST=IP LEN=36 
TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2

Solution: If possible disable ufw or find other solution (Disabling ufw on production server is risky)



Problem: nginx: [warn] could not build optimal proxy_headers_hash, you should
Problem: increase either proxy_headers_hash_max_size: 512
Solution: past the code below in your default server block
 proxy_headers_hash_max_size 1612;
 proxy_headers_hash_bucket_size 128;  #(remember more numbers you increase more memory to consume, you are better off reducing the numbers until nginx starts complaining.)
 
Solution 2: remove  proxy_set_header X-Forwarded-For $remote_addr; and replace it with 
proxy_set_header X-Real-IP $remote_addr;

 

 
Error: nginx: [emerg] unknown "webp_suffix" variable

 


Servers
published
v.0.01



hgt said:

gfds

Posted On: December 31, 2019 20:03:00 PM

For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email AddressContact: [email protected]