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
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…
Live status information like used space and more for nginx proxy cache
Using the Nginx virtual host traffic status module you can have extended live information for your proxy cache module and the proxy cache upstream servers….
Install Nginx virtual host traffic status module – traffic information in nginx and more per server block and upstreams
This article is going to show how to compile and install the Nginx module – ngx_http_vhost_traffic_status. The module gathers traffic information per the server blocks…
nginx – remove “no live upstreams” for your backup connections
In this article, we discuss the use of Nginx upstream module for HTTP and CGI (FastCGI) requests. Using Nginx upstream module is essential for scaling…
ansible – restart a (nginx) service only if it is running and the configuration is ok
Another ansible quick tip showing how to restart a program properly. We want to restart the program or the service only if it is running…
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…
Really bad performance when going from Write-Back to Write-Through in a LSI controller
Ever wonder what is the impact of write-through of an LSI controller in a real-world streaming server? Have no wonder anymore! you can get several…
nginx with php fpm (fastcgi) and the warning – an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp
As the web grows and the technology advances the page size of the web sites also grows or just some times you might want to…
Tune nginx proxy cache – control the cache manager how to delete cached files
In most cases you’ll never want to modify the default settings for deleting cache items with proxy_cache_path directives. The problem is in a peak the…