Skip to content

Password protect UAT and DEV environment #517

@martinheppner

Description

@martinheppner

The idea is to password protect the UAT (www2.zuugle.at) and DEV (dev.zuugle.at) environments, so the seach engines are not indexing them anymore.

Nginx is used, so I created a /etc/nginx/.htpassword file with bzb/bzb.
Furthermore I added these two lines to the "server" section in the nginx configuration file of each host and restarted the service.

auth_basic "Geschützter Bereich";
auth_basic_user_file /etc/nginx/.htpasswd;

The website is asking for username and password now, but is not proceeding to the next page afterwards or not recognizing the password.
Image

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions