Thanks, it turned out that while following some instructions of the internet (silly, I know!) I had put in place some configuration file that was redirecting all SSL connections somewhere different. So I have sorted it out now. I'll have a look at your configurations though - many thanks.

Rob

On 02/13/2014 08:36 PM, mayak wrote:
On 02/13/2014 08:09 PM, Andy Tuinman wrote:
Can you post your config file instead of the default? You have to make
a few adjustments in the file. So if you post your file i can look at it.

<snip>

here's mine:

url is: ghttps://sogo.domain.com

server {
     listen 443;
     server_name sogo.domain.com;
     rewrite ^/$ https://sogo.domain.com/SOGo;
     access_log  /var/log/nginx/sogo-access.log;
     error_log /var/log/nginx/sogo-error.log;


     location ^~ /SOGo {
       proxy_pass            http://127.0.0.1:20000/SOGo;
       proxy_redirect            http://127.0.0.1:20000/SOGo    /;

       proxy_set_header        X-Real-IP            $remote_addr;
       proxy_set_header        X-Forwarded-For
$proxy_add_x_forwarded_for;
       proxy_set_header        Host                sogo.domain.com;
       proxy_set_header        x-webobjects-server-protocol    HTTP/1.0;
       proxy_set_header        x-webobjects-remote-host    sogo.domain.com;
       proxy_set_header        x-webobjects-server-name    sogo.domain.com;
       proxy_set_header        x-webobjects-server-url
https://sogo.domain.com;
       proxy_connect_timeout        90;
       proxy_send_timeout        90;
       proxy_read_timeout        90;
       proxy_buffer_size                4k;
       proxy_buffers            16 64k;
       proxy_busy_buffers_size        64k;
       proxy_temp_file_write_size    64k;

       client_max_body_size        50m;
       client_body_buffer_size        128k;
       break;
     }

     location ^~ /Microsoft-Server-ActiveSync {
         proxy_pass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
         proxy_redirect
http://127.0.0.1:20000/Microsoft-Server-ActiveSync /;
     }

     location ^~ /SOGo/Microsoft-Server-ActiveSync {
         proxy_pass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
         proxy_redirect
http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync /;
     }

     location /.woa/WebServerResources/ {
       alias     /usr/lib64/GNUstep/SOGo/WebServerResources/;
     }

     location /SOGo.woa/WebServerResources/ {
       alias    /usr/lib64/GNUstep/SOGo/WebServerResources/;
     }

     location /SOGo/WebServerResources/ {
       alias    /usr/lib64/GNUstep/SOGo/WebServerResources/;
     }

     location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
       alias    /usr/lib64/GNUstep/SOGo/$1.SOGo/Resources/$2;
     }
}


--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to