How to enable nginx stub status Edit nginx.conf add in the server { ….. } block/context location /nginx_status { # Turn on nginx stats stub_status on; # I do not need logs for stats access_log off; # Security: Only allow access from your IP address # allow your ip address; # Send rest of the world …
Tag Archives: nginx
Make phpMyAdmin work with Varnish Cache.
How to make phpMyAdmin work on Nginx server with Varnish Cache? Assuming you have configured Varnish Cache to drop cookies here is what you have to change to make phpMyAdmin work properly on your Nginx server. after you install phpMyAdmin make a symbolic link sudo ln -s /usr/share/phpmyadmin/ /usr/share/nginx/www edit /etc/varnish/default.vcl – add in sub vcl_recv if (req.url …