This article will present to you all the configuration needed to remotely save access logs of an Nginx web server. All the configuration from the…
Tag: nginx.conf
nginx proxy cache – log the upstream response server, time, cache status, connect time and more in nginx access logs
The Nginx upstream module exposes embedded variables, which we can use to log them in the Nginx access log files. Some of the variables are…
ansible – insert after only if the pattern exists and the new insert is not there
Here is a quick ansible tip for system administrators for the ansible lineinfile. Imagine you want to insert a line after a word (or a…