<div dir="ltr"><div>We've added 2000+ ip prefixes in a file "geo.conf" included in nginx vhost by using ngx-http_geo_module and received the following warning :-<br><br>2014/06/19 23:52:46 [warn] 1633#0: duplicate network "<a href="http://103.24.96.0/22">103.24.96.0/22</a>", value: "tw", old value: "tw" in /usr/local/nginx/conf/geo.conf:40<br>
2014/06/19 23:52:46 [warn] 1633#0: duplicate network "<a href="http://103.251.176.0/22">103.251.176.0/22</a>", value: "tw", old value: "tw" in /usr/local/nginx/conf/geo.conf:50<br>2014/06/19 23:52:46 [warn] 1633#0: duplicate network "<a href="http://202.141.224.0/19">202.141.224.0/19</a>", value: "tw", old value: "tw" in /usr/local/nginx/conf/geo.conf:1312<br>
2014/06/19 23:52:46 [warn] 1633#0: duplicate network "<a href="http://202.142.160.0/19">202.142.160.0/19</a>", value: "tw", old value: "tw" in /usr/local/nginx/conf/geo.conf:1355<br>2014/06/19 23:52:46 [warn] 1633#0: duplicate network "<a href="http://202.5.136.0/21">202.5.136.0/21</a>", value: "tw", old value: "tw" in /usr/local/nginx/conf/geo.conf:1528<br>
<br></div>Due to it, nginx showing 504 gateway error for all ips included in geo.conf file<br><div><br></div></div>