Article

Nginx and Opera's proxies

Opera browser users are able to go online through a special proxy server of the Opera. Also, Opera Mini mobile customers use these servers.

Of course, IP addresses belong to these servers, but they send header "X-Forwarded-For" with the real IP address of the user.

The list of Opera's proxies is helpful to determine the real country.

Opera runs data centers in Norway, Iceland, Poland, USA and China.

Include file of proxies, then nginx automatically takes the real IP address, to determine the real country of the visitor.

You can download always actual database of Opera's proxies here:
http://wipmania.com/static/worldip.opera.conf

Use in nginx:

geo $country {
 default XX;
 include /etc/nginx/conf/worldip.opera.conf;
 include /etc/nginx/conf/worldip.conf;
}
tags: , ,

Anonymous/Name OpenID OpenID Yahoo! OpenID AOL WordPress LiveJournal TypePad Vox Myvidoop Orange Yandex YandexBlog Mixi Myspace Flickr Verisign MyOpenID ClaimID

All fields are not required

Leave blank for main post.
Comment - 5000 characters maximum. BBcode is allowed.

Subscribe to answers: to all comments:RSS comments (en)

Please have a look at our
Facebook Page and leave a comment

Creative Commons License
Creative Commons Attribution-Noncommercial 3.0 License