shayen Actually, I don't know how to password protect one Directory or URL on this panel so anyone knows it? Server Type: NGINX @aaPanel_Jose www.example.com/panel/admin www.example.com/panel/admin/index.php
aaPanel_Jose shayen Subdirectory setting password protection We consider joining the development list
mostafa26 the same problem , i need to protect one subdirectory on nginx , but the panel makes password for the entire domain
shayen mostafa26 yes, I tried so many times but it's failed, but I think Nginx expert may know it well, using .htpasswd to protect directories. However, I need the correct methods to use it on aaPanel.
mostafa26 i wish aapanel to add one directory protect by password on nginx . in apache i can make this even manually by htaccess
shayen mostafa26 I also do it on apache server but Nginx it's failed, do you know any example on the Nginx manual method?
jazz1611 shayen follow this tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-basic-http-authentication-with-nginx-on-centos-7
shayen aaPanel_Jose oh great news and plz improve package installation speed because it's taking too much time to install PHP packages and Nginx (already 10 servers have the same problem including google, digital ocean, scaleway, and OVH) 😀
aaPanel_Jose shayen hello, What system is your slow installation machine? What is the server performance?
Stealth Try: nginx configuration auth_basic "Password Protected Area"; auth_basic_user_file /path/to/.htpasswd; And there a .htpasswd file: test:mysuperpassword
shayen Stealth Hello, When I enter www.example.com/panel/admin/ is asking me for a password (so far so good) When I enter www.example.com/panel/admin/index.php you can enter with no password! any solution??? 😃
shayen aaPanel_Jose Probably new PHP version installation and update cause too much time and sometime Nginx version change also take too much time. When I restart my server, it's work well.
shayen aaPanel_Jose Hello, When I enter www.example.com/panel/admin/ is asking me for a password (so far so good) When I enter www.example.com/panel/admin/index.php you can enter with no password! any solution??? 😃