Hi, Is it possible to password protect a folder via ISPConfig control panel for a site on an nginx server?
I've added munin the added the following to the directive and it works: Code: location /munin { alias /var/cache/munin/www; } When setting up a password for the /munin folder it shows a username and password as expected but when the correct info is entered a ERROR 403 - Forbidden! is shown?
This is the error on the error.log Code: 2018/02/10 14:00:50 [error] 5721#5721: *188 directory index of "/var/www/server1.example.com/web/munin/" is forbidden, client: 86.4.188.88, server: server1.example.com, request: "GET /munin/ HTTP/1.1", host: "server1.example.com"
got it to work by getting munin to use: Code: /var/www/server1.example.com/web/munin instead of: Code: /var/cache/munin/www and did: Code: chown munin:munin /var/www/server1.example.com/web/munin /var/www/server1.example.com/web was already created in the sites module as shown on: https://www.howtoforge.com/communit...l-port-8080-with-lets-encrypt-free-ssl.75554/
phpmyadmin is server on the following url on my server: https://server1.example.com:8081/phpmyadmin/ why does adding /phpadmin to the password protected folders not work even after adding a user? even adding the path /usr/share/phpmyadmin is not allowed?
so can it be protected vi the control panel or do I have to manually add the password protection in the apps vhost file?