Nginx Configuration for phpMyAdmin

On Debian 9 server with nginx, i installed phpmyadmin with

For some reason, ip-address/phpmyadmin did not work. On Ubuntu, it normally ask for for web server you have installed, then configure it during install.

I got this working by adding following code

Inside default nginx virtual host

Restart nginx with

Now you will be able to access phpmyadmin with url

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *