Nginx Explorer - Cookie Authentication

Previously , we configured nginx to list directories and files in html. Now, let’s add authentication to restrict access to specific directories and files. Basic authentication The simplest web authentication method is basic authentication . It requires an Authorization header in each request. However, browsers don’t support setting a header on requests without javascript, and with javascript,…