Basic Authentication with Nginx


#1

I want to add Basic Authentication to the web server tool-Nginx.

Are there any configuration right for work?

Thanks.


#2

I think you won’t be able to push via HTTP/HTTPS after adding this extra HTTP basic layer.