sous-chefs / nginx

Development repository for the nginx cookbook
https://supermarket.chef.io/cookbooks/nginx
Apache License 2.0
551 stars 810 forks source link

Add support for basic authorization #602

Open findmyname666 opened 2 years ago

findmyname666 commented 2 years ago

Problem Statement

I would like to use basic authorization in Ngix configuration to restrict access to some sites. Here is nginx documentation.

Possible Solution

Use access control using HTTP Basic authentication.

Additional context

If this is bullshit request sorry for that ... It is the first time I see chef module. However this is used by some upstream SW and I would like to use basic auth to restrict access for unknown visitors. Just to clarify further upstream SW uses this template. Unfortunately FW rules cannot be used in this case.