Hello dream team, I have problem when i use "proxy_cache" with a variable ! Using "proxy_cache_purge" (call to proxy_cache) directive with a variable seems to change that variable's value. Tested on the last version nginx/1.11.4 (on Sles11 SP3) I would change my name cache dynamically The following conf is OK : (the file is purged) ##############################by Jugurtha - Nginx Mailing List - English
Hello, If you start your nginx process with root (login), your master process will start with root but the "worker process" and "cache manager" with usradmin:mwgroup (you can test with this command "ps aux | grep nginx") you can try to start nginx with usradmin account : "su - usradmin ; /etc/init.d/nginx start", this will solve the rights issueby Jugurtha - Nginx Mailing List - English
Solved here : http://forum.nginx.org/read.php?2,260566 Thx Maximby Jugurtha - How to...
Hello Maxim, Thanks for the reply, you are the best ;) I would like to add the GeoIP data into my log access to facilitate processing in Kibana (ELK stack) Maybe is not the good way because i know it possible to do this with LogStash (GeoIP Filter), and this would reduce pressure Nginx (what do you think ?) #Conf GEOIP (Load GeoIP Lib) => Downloaded on maxmind website geoip_countryby Jugurtha - Nginx Mailing List - English
Hello World, I would like to know if is possible to put GeoIP data (country for exemple) in my log access (nginx) I enabled the GeoIP module in my nginx (configure) and i would like to use the "$geoip_country_name" and "$geoip_city" in my accesslog I tried to add the two variables in my log format (main) but without success log_format main '$host $remote_addr - $remoteby Jugurtha - Nginx Mailing List - English
Hello World, I enabled the GeoIP module in my nginx (configure) and i would like to use the "$geoip_country_name" and "$geoip_city" in my accesslog I tried to add the two variables in my log format (main) but without sucess log_format main '$host $remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_refby Jugurtha - How to...
Hello, Thx Sergey for this tips (solution)by Jugurtha - Nginx Mailing List - Russian
Hi and thank you for your help Francis ;) I had already tested the IP resolver with Google DNS, but I just realized that the firewall of the company blocked the DNS traffic !!! Also, my server has a DNS entry (/etc/resolv.conf) so I do not understand why I had to add this tag in nginx. Anyway, with this 2 lines, everything is OK now : resolver 172.16.42.60; (Our DNS) proxy_set_header X-Fby Jugurtha - Nginx Mailing List - English
Hello, Thank you for the response Francis, I saw this after several searches on the board but without success. I will continue my investigations to try to solve this problem. Thank you for the clue ;) Merci.by Jugurtha - Nginx Mailing List - English
Hello, If you have just a clue, I'm interested. Thank youby Jugurtha - Nginx Mailing List - English
Hello, I have a problem with my configuration and i need your help please ;) I have the following URL that points to my nginx : http://blablabla/folder/cmm/200/aHR0cDovL2F6MjMyNjIudm8ubXNlY25kLm5ldC90cGltYWdlcy81OGE0NTVlNjYzYzNmYmM2OWMwYThjMTJlMGIwYzllOF9taW5pXzguanBn.jpg I need to extract the following section (it's Ok): aHR0cDovL2F6MjMyNjIudm8ubXNlY25kLm5ldC90cGltYWdlcy81OGE0NTVlNjYzYzNby Jugurtha - Nginx Mailing List - English
Hello everybody, I have recently some problem with my nginx server and i need some help. My platform is linux 2.6.32 - SLESS 11 SP1 (x86_64) (64Go RAM & 16 Cpu With Fusion IO Card ) Nginx server has two instances of "server", a frontend (cache) and a backend (fetches static files on another external server). On the frontend server there are error logs like this: 2012/by Jugurtha - Nginx Mailing List - English