请大神指导,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配置
#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配置文件,只保留一个节点,还是无法登录,排除会话保持问题。
相似问题