Use of the database in nginx
Configuration and use of the database (CIDR) are very practical and comfortable in nginx, so there is no problem to install it.
Nginx must be compiled with module ngx_http_geo_module (by default).
Paste in http
This variable gets passed through FastCGI to your backend:
Nginx must be compiled with module ngx_http_geo_module (by default).
Paste in http
geo $geo {
include worldip.conf;
default XX;
}
The variable $geo can also be used in log_format.This variable gets passed through FastCGI to your backend:
fastcgi_param HTTP_GEO $geo;
or
fastcgi_param GEO $geo;
If nginx runs as a proxy (e.g. in conjunction with Apache), you need only add
proxy_set_header HTTP_GEO $geo;Post comment
EnglishDeutschРусский
Anonymous
08 Sep 2008 21:09#16Русский
08 Sep 2008 21:09#16Русский
Alex 09 Sep 2008 12:09#17Русский
Anonymous
30 May 2009 20:05#1011Русский
30 May 2009 20:05#1011Русский
Alex 30 May 2009 22:05#1012Русский
kinder
31 May 2009 23:05#1019Русский
31 May 2009 23:05#1019Русский
Alex 01 Jun 2009 22:06#1025Русский
LnddMiles
21 Jul 2009 21:07#1368English
21 Jul 2009 21:07#1368English
Great post! I’ll subscribe right now wth my feedreader software!
reply

