mirror of
https://github.com/nginx/nginx.git
synced 2026-09-01 02:58:40 +00:00
ngx_http_geoip_module
This commit is contained in:
parent
142a9c3f11
commit
bc10147b9f
6 changed files with 454 additions and 0 deletions
|
|
@ -240,6 +240,12 @@ if [ $HTTP_GEO = YES ]; then
|
|||
HTTP_SRCS="$HTTP_SRCS $HTTP_GEO_SRCS"
|
||||
fi
|
||||
|
||||
if [ $HTTP_GEOIP = YES ]; then
|
||||
have=NGX_HTTP_GEOIP . auto/have
|
||||
HTTP_MODULES="$HTTP_MODULES $HTTP_GEOIP_MODULE"
|
||||
HTTP_SRCS="$HTTP_SRCS $HTTP_GEOIP_SRCS"
|
||||
fi
|
||||
|
||||
if [ $HTTP_MAP = YES ]; then
|
||||
have=NGX_HTTP_MAP . auto/have
|
||||
HTTP_MODULES="$HTTP_MODULES $HTTP_MAP_MODULE"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue