Welcome! Log In Create A New Profile

Advanced

Re: NTLM sharepoint when use nginx reverse proxy

February 25, 2018 04:40AM
i try and it work but have new issue. Some site i need redirect from port 80 to 443 and it use same port 80 with sharepoint site
My code is:


events {
worker_connections 1024;
}
stream {
upstream ecm.test.com {
hash $remote_addr consistent;
server ecm.test.com:81 weight=5;
}
server {
listen 81; #Line 27

proxy_connect_timeout 1s;
proxy_timeout 3s;
proxy_pass ecm.test.com;
}
}

http {
server_tokens off;
proxy_buffering off;
expires 12h;
proxy_redirect off;

# Redirect http://test.com -> https://www.test.com
server {
listen 80;
server_name www.test.com;
#rewrite ^(.*) https://www.test.com permanent;
return 301 https://$host$request_uri;
}

# Redirect http://www.test.com -> https://www.test.com
server {
listen 80;
server_name test.com;
rewrite ^(.*) https://www.test.com permanent;
#return 301 https://$host$request_uri;
}

### Reverse Proxy for WEB02
server {
listen 443 ssl;
server_name www.test.com;
ssl on;
### SSL cert files ###
ssl_certificate /etc/nginx/ssl/cert.pem;
ssl_certificate_key /etc/nginx/ssl/cert.key;

### ssl_ciphers HIGH:!aNULL:!MD5;
#ssl_ciphers RC4:HIGH:!aNULL:!MD5;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:ECDHE-RSA-AES128-GCM-SHA256:AES256+EECDH:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4";

location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass https://web02.test.com;
proxy_set_header host test.com;
}
}
}
Subject Author Posted

NTLM sharepoint when use nginx reverse proxy

sonpg February 23, 2018 03:52AM

Re: NTLM sharepoint when use nginx reverse proxy

sonpg February 23, 2018 04:15AM

Re: NTLM sharepoint when use nginx reverse proxy

Francis Daly February 23, 2018 07:34AM

Re: NTLM sharepoint when use nginx reverse proxy

unclepieman February 23, 2018 09:06AM

Re: NTLM sharepoint when use nginx reverse proxy

jasonw February 23, 2018 10:24AM

Re: NTLM sharepoint when use nginx reverse proxy

sonpg February 25, 2018 04:40AM

Re: NTLM sharepoint when use nginx reverse proxy

Francis Daly February 25, 2018 10:36AM

Re: NTLM sharepoint when use nginx reverse proxy

sonpg February 25, 2018 11:34AM

Re: NTLM sharepoint when use nginx reverse proxy

Francis Daly February 25, 2018 04:20PM

Re: NTLM sharepoint when use nginx reverse proxy

unclepieman February 25, 2018 07:38PM

Re: NTLM sharepoint when use nginx reverse proxy

sonpg March 02, 2018 05:30AM

Re: NTLM sharepoint when use nginx reverse proxy

Francis Daly March 02, 2018 10:54AM

Re: NTLM sharepoint when use nginx reverse proxy

sonpg March 04, 2018 12:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 225
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready