NGINX Reverse proxy with basic auth in windows
February 15, 2023 08:09PM
Hello, I need to make reverse proxy with login/password, and I have NGINX on windows. Can anyone tell me step by step how to configure this simple thing? I can find lot of tutorials for linux, but I can not find any for windows. Thank You!
Re: NGINX Reverse proxy with basic auth in windows
February 16, 2023 06:33AM
server {
[...]

location / {
auth_basic "User/Pass needed";
auth_basic_user_file access.txt;
proxy_pass http://127.0.0.1:8080;
}
[...]

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 218
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready