How to enable nginx stub status

How to enable nginx stub status

Edit nginx.conf add in the server { ….. } block/context

For Plesk edit  /etc/nginx/plesk.conf.d/server.conf

Could not open archive dir for / Could not open archive mbox dir

How to fix the errors

Solution

If we have a list named list1_webinformat.com the error is

and we have to create 2 dirs

After we create the needed directories we run 2 commands

Let me know in comments if you need any help or if this helped you.
Happy coding 😉

Ubuntu server no login console

After boot there was no console prompt to login.

The issue was related to the VGA resolution.

To fix Ubuntu server no login console

modify in /etc/default/grub

Of course, you can set resolution to suit your needs by replacing 1024x768x24 to whatever you need.

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.

  1. after you install phpMyAdmin make a symbolic link
  2. edit /etc/varnish/default.vcl – add in  sub vcl_recv

    – add in sub vcl_fetch
  3. edit /etc/phpmyadmin/config.inc.php and set

You can see that it’s not that complicated to make phpMyAdmin work with Varnish Cache.