• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Password-protected folders not working with Nginx

Dree

Basic Pleskian
Has anyone tried creating a password-protected folder in Plesk 11.5, when using nginx?
I don't think this is working at the moment.
Some lines are added to the last_httpd.conf but nothing to nginx-config.
 
hm, my webstat folders are password protected and when i try to access them i am asked for a password

plesk 11.5 (and nginx is installed)
 
I enabled that as well, and it's working, but I can't protect my admin folder.
The first rules don't work, but the statistics folder is working, odd...

<Directory "/var/www/vhosts/intranet.domain.com/subdomains/intranet/httpdocs/admin">
AuthType Basic
AuthName "admin"
AuthUserFile "/var/www/vhosts/system/intranet.domain.com/pd/d..httpdocs@admin"
require valid-user
Options +FollowSymLinks
</Directory>
<Directory "/var/www/vhosts/system/intranet.domain.com/statistics">
AuthType Basic
AuthName "Domeinstatistieken"
AuthUserFile "/var/www/vhosts/system/intranet.domain.com/pd/d..httpdocs@plesk-stat"
require valid-user
Options +FollowSymLinks
</Directory>
 
Hi,

Does anyone know how to password protect a website in plesk 11.5?

I am using nginx and apache is turned off. When I password protect it via panel, it doesnt work as nothing is added to nginx conf. CAn someone shed any light on how this can be achieved?

Thanks.
 
Hi,

Does anyone know how to password protect a website in plesk 11.5?

I am using nginx and apache is turned off. When I password protect it via panel, it doesnt work as nothing is added to nginx conf. CAn someone shed any light on how this can be achieved?

Thanks.
 
Back
Top