首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >Nginx反向代理SharePoint网站后网站为什么无法用AD账户登录?

Nginx反向代理SharePoint网站后网站为什么无法用AD账户登录?

提问于 2019-08-22 09:22:38
回答 2关注 0查看 1.2K

请大神指导,Thanks!!!!

一、测试环境

DC:192.168.0.2

域名:bystp.com

DNS:

192.168.0.10 www.bystp.com

SharePoint Web1:192.168.0.11:9000

SharePoint Web2:192.168.0.12:9000

SharePoint Web3:192.168.0.13:9000

SharePoint Web4:192.168.0.14:9000

SharePoint Web5:192.168.0.15:9000

nginx:192.168.0.10

二、nginx配置

代码语言:js
复制
#user  nobody;
worker_processes  1;

#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;

#pid        logs/nginx.pid;

events {
    worker_connections  1024;
}

http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  logs/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;

    #gzip  on;
    upstream www.bystp.com {
    ip_hash;
    server 192.168.0.11:9000;
    server 192.168.0.12:9000;
    server 192.168.0.13:9000;
    server 192.168.0.14:9000;
    server 192.168.0.15:9000;
  } 
    server {
        listen       80;
        server_name  www.bystp.com 192.168.0.10;

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

        location / {
        proxy_pass http://www.bystp.com;
        proxy_set_header host www.bystp.com;
            root   html;
            index  index.html index.htm;
        }

三、客户机访问http://www.bystp.com正常。

访问正常
访问正常

四、选择登录,输入用户名和密码后,点击确定后继续弹出登录框,无法登录。

无法登录
无法登录

目前做的检查操作:

1.客户机使用IP加端口访问(http://192.168.0.12:9000)登录正常,排除AD账户问题;

2.更改Nginx配置文件,只保留一个节点,还是无法登录,排除会话保持问题。

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档