Welcome! Log In Create A New Profile

Advanced

Re: Nginx as proxy for Exchange 2013 : RPC?

February 14, 2016 06:22AM
I've had most success so far with this approach (Tigunov's config - https://gist.github.com/taddev/7275873).
( btw, I'm using Basic Authentication rather than NTLM ).



server {
server_name mail.contoso.com;
server_name autodiscover.contoso.com;
keepalive_timeout 3h;
proxy_read_timeout 3h;
#reset_timedout_connection on;
tcp_nodelay on;
listen 443 ssl;
client_max_body_size 3G;
#proxy_pass_header Authorization;
proxy_pass_header Date;
proxy_pass_header Server;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Accept-Encoding "";
proxy_pass_request_headers on;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version 1.1;
proxy_request_buffering off;
proxy_buffering off;
proxy_set_header Connection "Keep-Alive";

location / {
proxy_pass https://exchange.internal/;
proxy_next_upstream error timeout invalid_header http_500 http_503;
}

}

With Microsoft's Remote Connectivity Analyzer, I now get up to the point where ActiveSync is tested. "OPTIONS" works, FolderSync fails ( something about a request being aborted or canceled, no further details ).
Subject Author Posted

Nginx as proxy for Exchange 2013 : RPC?

jbostoen February 13, 2016 07:28AM

Re: Nginx as proxy for Exchange 2013 : RPC?

itpp2012 February 13, 2016 08:29AM

Re: Nginx as proxy for Exchange 2013 : RPC?

jbostoen February 13, 2016 09:02AM

Re: Nginx as proxy for Exchange 2013 : RPC?

itpp2012 February 13, 2016 09:11AM

Re: Nginx as proxy for Exchange 2013 : RPC?

jbostoen February 13, 2016 09:56AM

Re: Nginx as proxy for Exchange 2013 : RPC?

jbostoen February 14, 2016 06:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 75
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready