> Am 18.02.2011 um 23:23 schrieb Adi Linden:
>> Is it possible to change the default /SOGo URL to something different, like 
>> /something?

Il giorno 19/feb/2011, alle ore 16:24, Martin Rabl ha scritto:
> Sure - it is only a proxy before the SOGo-Application-Server.


Hi,

I'm using Nginx as proxy (I'm on CentOS), with a conf file similar to this one:
http://mail.opengroupware.org/pipermail/sogo/2009-November/004351.html

My goal is to get rid of any paths after the domain.  I tried to modify the 
paths by removing the /SOGo prefix, in the Nginx conf, i.e.

server {
    location / {
        proxy_redirect http://127.0.0.1:20000/SOGo/    /;
        ...other lines unchanged...
    }
    location ~ /WebServerResources/(.*)    {
        alias /usr/GNUstep/System/Library/SOGo/WebServerResources/$1;
    }
}

...but it doesn't work.  I end up with login errors (for example, the 
redirection at login becomes http://connect instead of a FQDN).
Assuming that SOGo internally "needs" a path after the domain, I tried to 
modify it like this:

server {
    location /webmail {
        proxy_redirect http://127.0.0.1:20000/SOGo/    /webmail;
        ...other lines unchanged...
    }
    location ~ /WebServerResources/(.*)    {
        alias /usr/GNUstep/System/Library/SOGo/WebServerResources/$1;
    }
}

...but again it doesn't work.  I can login but messages in the webmail are not 
retrieved.

So, before investigating more, let me ask:  did anyone managed to remove the 
/SOGo path under Nginx?

Thanks,
Corrado Fiore

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

Reply via email to