Hi artie
Well, i've got such a problem. there's few examples about nginx conf + Sogo
I use this one for the moment but the first rewrite rules could be incorrect
any suggestion ?


/
location ^~ /SOGo/ {
       rewrite                     ^(/SOGo)/$ $1;
       proxy_pass                  http://127.0.0.1:20000;
       proxy_set_header            X-Real-IP                 $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
       proxy_set_header            Host                          $host;
       proxy_set_header            x-webobjects-remote-host      127.0.0.1;
       proxy_set_header            x-webobjects-server-protocol  HTTP/1.0;
proxy_set_header x-webobjects-server-name $server_name; proxy_set_header x-webobjects-server-port $server_port; proxy_set_header x-webobjects-server-url $scheme://$host;
       proxy_connect_timeout       90;
       proxy_send_timeout          90;
       proxy_read_timeout          90;
       proxy_buffer_size           4k;
       proxy_buffers               4 32k;
       proxy_busy_buffers_size     64k;
       proxy_temp_file_write_size  64k;
       client_max_body_size        50m;
       client_body_buffer_size     128k;
 break;
}
/
location /SOGo.woa/WebServerResources/ {
 alias  /usr/GNUstep/System/Library/SOGo/WebServerResources/;
}
location /SOGo/WebServerResources/ {
 alias  /usr/GNUstep/System/Library/SOGo/WebServerResources/;
}
location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
 alias  /usr/GNUstep/System/Library/SOGo/$1.SOGo/Resources/$2;
}

ar...@itnexus.co.uk a écrit :
Hi All,

I have successfully installed SOGo and it works fine when accessed directly
from the machine where it is installed.  I have now set up another server which
which will run nginx as a reverse proxy for traffic coming from outside.  My
problem is that although nginx is working fine serving web pages from the
server where SOGo is installed, I cannot get it show any pages for SOGo... not
even the logon page.  Can any please guide me with the nginx config required to
get SOGo working through the reverse proxy?

TIA

Artie

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to