Page 1 of 1

Secure Login or Symbolic Link for phpmyadmin in Nginx-Debian9x???

Posted: Fri Nov 09, 2018 10:39 pm
by LaTisCool
Hello,

I have tried differenst ways to do more secure the phpmyadmin login in Nginx, Php-Fpm, Debian 9x and VestaCp

1.-Symbolic Link (no work) .

I used this guide https://www.tecmint.com/change-secure- ... url-page/ .

2.- Secure Login (pma_pass) (no_work )

I used this guide https://www.digitalocean.com/community/ ... untu-16-04

The article mentions editing this -> nano /etc/nginx/sites-available/default
But there is no sites-avaible folder ??. So, i edited or write the code below in this loaction /this usr/local/vesta/nginx/conf/nginx.conf
Also i tried in this location /home/admin/conf/web/mydomain.com.nginx.conf

I ADDED THIS CODE TO THE FILE
---------------------------------------------

location /phpmyadmin {
auth_basic "Admin Login";
auth_basic_user_file /etc/nginx/pma_pass;
}


Then, i restarted nginx and vesta. Then i visited mi site -> www.mydomain.com/phpmyadmin
But didn't display the login secure screen


3.-Also I tried this topic viewtopic.php?f=11&t=5264
THEME/UI EDIT Link
restart nginx and vesta....but nothing work


PLEASE, CAN ANYONE HELPME... With any secure option....THX U

PS_ IT SEEMS MORE EASY WITH APACHE...but Nginx is more is more optimized and faster