Welcome! Log In Create A New Profile

Advanced

Re: RPC over HTTPS

October 14, 2009 11:34AM
Hi,

I am currently trying to set up Nginx 0.6.35 (on Ubuntu 9.04) to listen to OWA of some Exchange 2003 server. My config is as follows:


-----------------------------------------------------------------------------------------------------------

[code]
# nginx.conf

user www-data;
worker_processes 2;

error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;

events {
worker_connections 1024;
}

http {
include /etc/nginx/mime.types;
#default_type application/octet-stream;
default_type text/plain;

access_log /var/log/nginx/access.log;

#sendfile on;
tcp_nopush off;

#keepalive_timeout 0;
keepalive_timeout 65;
tcp_nodelay on;

#msie_padding on;
#msie_refresh off;
#server_name_in_redirect off;
#server_names_hash_max_size 512;
#server_names_hash_bucket_size 64;

gzip off;
#gzip_http_version 1.1;
#gzip_vary on;
#gzip_comp_level 6;
#gzip_proxied any;
#gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
#gzip_buffers 16 8k;
#gzip_disable "MSIE [1-6].(?!.*SV1)";

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
[/code]


-----------------------------------------------------------------------------------------------------------

[code]
#https-proxy config file
server {
listen 443;
server_name 192.168.10.157;

# rewrite ^/$ https://192.168.10.157/exchange permanent;

ssl on;
ssl_certificate /etc/ssl/certs/myssl.crt;
ssl_certificate_key /etc/ssl/private/myssl.key;
ssl_session_timeout 5m;

proxy_read_timeout 360;
proxy_connect_timeout 360;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_redirect off;
# proxy_buffering off;
# proxy_max_temp_file_size 0;

location /exchange { proxy_pass https://sbs/exchange; }
location /exchweb { proxy_pass https://sb/exchweb; }
location /public { proxy_pass https://sbs/public; }
# location /Microsoft-Server-ActiveSync { proxy_pass https://sbs/Microsoft-Server-ActiveSync; }

}
[/code]


-----------------------------------------------------------------------------------------------------------

However I cannot log on to OWA. Firefox 3.5.3 complains about some codepage error, MSIE 8 gives a gateway error message, Opera 10 delivers cryptic characters, Safari/Win32 says it could not decode the raw data.

@cates: Can you please review my config and suggest what I am doing wrong?

CU,
M├ęszi.
Subject Author Posted

RPC over HTTPS

Linden June 29, 2009 03:06AM

Re: RPC over HTTPS

Maxim Dounin June 29, 2009 06:56AM

Re: RPC over HTTPS

cates September 30, 2009 04:11AM

Re: RPC over HTTPS

W-Mark Kubacki September 30, 2009 07:18AM

Re: RPC over HTTPS

cates September 30, 2009 08:07AM

Re: RPC over HTTPS

meszi October 14, 2009 11:34AM

Re: RPC over HTTPS

meszi October 14, 2009 11:35AM

Re: RPC over HTTPS

cates October 15, 2009 04:28AM

Re: RPC over HTTPS

meszi October 15, 2009 03:43PM

Re: RPC over HTTPS

meszi October 15, 2009 03:46PM

Re: RPC over HTTPS

cates October 15, 2009 04:25PM

Re: RPC over HTTPS

Chang Song October 03, 2009 06:40AM

Re: RPC over HTTPS

meszi October 17, 2009 04:40AM

Re: RPC over HTTPS

meszi October 19, 2009 07:39AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 330
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