Paul Swielingen
February 10, 2010 05:16PM
Hi all,

I am trying to create a reverse proxy towards various web-enabled
Things are starting to work.

I run into the following problem:
Sometimes my some of web enabled equipment returns a request for basic
authentication. The header has a format which causes problems. Example:

WWW-Authenticate: Digest realm="...", domain="/", etc

I think the domain="/" causes the problem: Each of my web-enabled
equipment has its own location <some url> {} definition. I think the
domain="/" should either not be there or list domain="/<some url>. Nginx
forwards the header unchanged to the browser causing a basic
authentication prompt. I guess after that the browser sends the uid/pw
to nginx for url=/ (which does not lead back to the proper location
<some url> {} definition

How can I rewrite/modify this header?

kind regards
Paul Swielingen
Posted via

nginx mailing list
Subject Author Posted

Howto to modify headers returned by proxied server

Paul Swielingen February 10, 2010 05:16PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 33
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready