Sindbad~EG File Manager

Current Path : /opt/nginxhttpd_/etc/openresty_config/custom_security/
Upload File :
Current File : //opt/nginxhttpd_/etc/openresty_config/custom_security/998-exceptions.conf

map ${map_wl_asn}${map_wl_ip}${map_wl_ip_inverted} $map_ip_exception {
    default 0;
    # First digit : 1 = wl
    # Second digit : 1 = wl
    # Third digit : 0 = wl
    000     1;
    001     0;
    010     1;
    011     1;
    100     1;
    101     1;
    110     1;
    111     1;
}

map $geoip2_data_asn $map_google_asn {
    default 0;
    15169   1;
}

map $geoip2_data_asn $map_wl_asn {
    default 0;
    50474   1;      # o2switch
    13414   1;      # Twitter
    32934   1;      # Facebook
    2635    1;      # Automattic (WordPress)
}

geo $remote_addr $map_wl_ip {
    default         0;
    include "jabatus_wl_lua.conf";
    include "whitelist_wl.conf";
}

# Inverted ! 0 mean whitelist so we need a map to reverse this :(
geo $remote_addr $map_wl_ip_inverted {
    default 1;
    include "jabatus_wl.conf";
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists