Skip to content

Instantly share code, notes, and snippets.

@opentokix
Created October 12, 2015 13:41
Show Gist options
  • Save opentokix/7c7ea27fae60284a0f17 to your computer and use it in GitHub Desktop.
Save opentokix/7c7ea27fae60284a0f17 to your computer and use it in GitHub Desktop.
opera mini proxy configuration nginx
set_real_ip_from 59.151.106.227;
set_real_ip_from 59.151.106.228/30;
set_real_ip_from 59.151.106.232/29;
set_real_ip_from 59.151.106.240/29;
set_real_ip_from 59.151.106.248/30;
set_real_ip_from 59.151.106.252;
set_real_ip_from 64.255.164.0/24;
set_real_ip_from 64.255.180.0/24;
set_real_ip_from 80.232.117.0/24;
set_real_ip_from 80.239.242.0/23;
set_real_ip_from 82.145.208.0/22;
set_real_ip_from 82.145.212.0/22;
set_real_ip_from 91.203.96.0/25;
set_real_ip_from 91.203.98.0/24;
set_real_ip_from 195.189.142.0/23;
set_real_ip_from 141.0.8.0/21;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
real_ip_recursive on;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment