歡迎您光臨本站 註冊首頁

諮詢一下nginx做前端,後端是windows iis站點集成windows身份認證的應用方式

我現在有一台伺服器nginx做前端,後端是windows iis站點集成windows身份認證的應用方式

配置文件大概如下:

        upstream mysvr1 {
                #這裡指定多個源伺服器,ip:埠,80埠的話可寫可不寫
                server 192.168.1.50 weight=1;
        }
    server {
        listen       80;
        server_name  localhost2;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;
                location / {
                                        proxy_pass      http://mysvr1;
                                        proxy_redirect          off;
                                        proxy_set_header        Host $host;
                                        proxy_set_header        X-Real-IP $remote_addr;
                                        proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
                }

問題是,我訪問nginx前端站點時,瀏覽器跳出的窗口輸入用戶密碼后無效,無法訪問到後端的伺服器的內容!
頭信息顯示如下:
HTTP/1.1 401 Unauthorized
Server: nginx/0.8.4
Date: Thu, 24 Dec 2009 09:50:53 GMT
Content-Type: text/html
Connection: keep-alive
Content-Length: 1952
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET

請問如何解決?

謝謝
《解決方案》

有誰知道怎麼解決嗎?

謝謝

[火星人 ] 諮詢一下nginx做前端,後端是windows iis站點集成windows身份認證的應用方式已經有1392次圍觀

http://coctec.com/docs/service/show-post-19415.html