Hi,
I have configured nginx as a forward proxy with basic http authentication. When I'm trying to visit some website via nginx proxy, which has included links to other sites nginx asks me for a login and password every new domain is visited.
I would like to configure nginx for one time authentication until user does not close web browser. My configuration looks like this:
server {
listen 8080;
location / {
auth_basic "Restricted";
auth_basic_user_file password;
resolver 8.8.8.8;
proxy_pass http://$http_host$uri$is_args$args;
}
}
Thank You for help and hints.
I have configured nginx as a forward proxy with basic http authentication. When I'm trying to visit some website via nginx proxy, which has included links to other sites nginx asks me for a login and password every new domain is visited.
I would like to configure nginx for one time authentication until user does not close web browser. My configuration looks like this:
server {
listen 8080;
location / {
auth_basic "Restricted";
auth_basic_user_file password;
resolver 8.8.8.8;
proxy_pass http://$http_host$uri$is_args$args;
}
}
Thank You for help and hints.