Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

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

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
LaTisCool
Posts: 4
Joined: Fri Nov 09, 2018 4:58 am

Os: Debian 8x
Web: nginx + php-fpm
Secure Login or Symbolic Link for phpmyadmin in Nginx-Debian9x???
  • Quote

Post by LaTisCool » Fri Nov 09, 2018 10:39 pm

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
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password