NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
holinhot
V2EX  ›  NGINX

nginx geoip 怎么不成功啊

  •  
  •   holinhot · May 17, 2015 · 3199 views
    This topic created in 4048 days ago, the information mentioned may be changed or developed.

    我试了城市和国家都没问题可省分有问题啊。不生效

    if ($geoip_region = 30) {
    root /home/wwwroot/guangdong;}

    1 replies    2015-05-18 00:01:16 +08:00
    holinhot
        1
    holinhot  
    OP
       May 18, 2015
    刚测试了30没问题了 可是36江西有问题啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5766 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 02:20 · PVG 10:20 · LAX 19:20 · JFK 22:20
    ♥ Do have faith in what you're doing.