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 · 3168 views
    This topic created in 4028 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   ·   2614 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 15:51 · PVG 23:51 · LAX 08:51 · JFK 11:51
    ♥ Do have faith in what you're doing.