我安装了3台Sharepoint,配置服务器场,然后使用CentOS7+nginx配置负载,负载好了以后网站可以正常打开,但是无法登录。求大神指点,谢谢。。。
一、测试环境
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;
}
三、使用客户机访问www.bytsp.com正常

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