Question

phpmyadmin shows 404 not found

Hi I created droplet using one click installation of phpmyadmin on Ubuntu. In starting domain.com/phpmyadmin was working but after adding ssl to doamin it is suddenly stopped working. Please suggest how to solve it.

Thans


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Is it correct or not ?

server { listen 80; server_name thimatic-apps.com; rewrite ^/(.*) https://thimatic-apps.com/$1 permanent; location / { root /phpmyadmin;

}

}

server {

    listen 443 ssl default_server;
    listen [::]:443 ssl default_server;

root /var/www/html;

    # Add index.php to the list if you are using PHP
    index index.html index.htm index.nginx-debian.html;

   server_name thimatic-apps.com;
   ssl_certificate /root/thimatic-apps.com.chained.crt;
   ssl_certificate_key /root/thimatic-apps.com.key;
   ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
   ssl_prefer_server_ciphers on;
   ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';

}