Secure phpmyadmin on ISPConfig 3 + nginx (not apache) on Ubuntu 14.04

Posted December 31, 2014 9.3k views

Thank you in advance for any help!

We are running ISPConfig 3 on Ubuntu 14.04 droplet with nginx (not apache).
Now we are struggling to find a way to secure phpmyadmin. Found this good tutorial:

Yet it works with just nginx setup and not with ISPConfig + nginx.

Can anyone explain us how to secure phpmyadmin on our setup (SPConfig 3 + nginx (not apache) on Ubuntu 14.04)?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Not sure if I am following you completely but here is what I had to do. This is assuming you followed normal ispconfig setup.

In the ispconfig control panel.
Click on Server Config
Click on your server name.
Click on Web
Near the bottom click on Vhost apps setting.

Set (All on one line.) It will use your self signed certificate when you setup ispconfig.
Apps-vhost port: 8081 ssl; sslcertificate /usr/local/ispconfig/interface/ssl/ispserver.crt; sslcertificate_key /usr/local/ispconfig/interface/ssl/ispserver.key

Apps-vhost Domain:

After the CP updates your should be able to access your phpmyadmin via

  • Thank you for you help.

    However, after we have done suggested changes “service nginx restart” is “fail” in ssh

  • Looks like the board changed the format of my text. Sorry didn’t catch it.

    8081 ssl; ssl_certificate /usr/local/ispconfig/interface/ssl/ispserver.crt; ssl_certificate_key /usr/local/ispconfig/interface/ssl/ispserver.key

    the Apps-vhost Domain: is correct.

    See if that fixes it.

  • Thank you this works!