Hello,
Is it possible to provide us a solution regarding the custom url of SOGo?
Below our NGINX template ( /etc/nginx/templates/sogo.tmpl):
QUOTE
# Settings for SOGo Groupware
# SOGo
location ~ ^/sogo { rewrite ^ http://$host/SOGo; }
location ~ ^/SOGO { rewrite ^ http://$host/SOGo; }
# Redirect /mail to /SOGo
#location ~ ^/mail { rewrite ^ https://$host/SOGo; }
# For Mac OS X and iOS devices.
rewrite ^/.well-known/caldav /SOGo/dav permanent;
rewrite ^/.well-known/carddav /SOGo/dav permanent;
rewrite ^/principals /SOGo/dav permanent;
location ^~ /SOGo {
include /etc/nginx/templates/hsts.tmpl;
proxy_pass http://127.0.0.1:20000;
# forward user's IP address
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
# always use https
proxy_set_header x-webobjects-server-port $server_port;
proxy_set_header x-webobjects-server-name $host;
proxy_set_header x-webobjects-server-url http://$host;
proxy_set_header x-webobjects-server-protocol HTTP/1.0;
}
location ^~ /Microsoft-Server-ActiveSync {
proxy_pass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
proxy_connect_timeout 3540;
proxy_send_timeout 3540;
proxy_read_timeout 3540;
}
location ^~ /SOGo/Microsoft-Server-ActiveSync {
proxy_pass http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync;
proxy_connect_timeout 3540;
proxy_send_timeout 3540;
proxy_read_timeout 3540;
}
location /SOGo.woa/WebServerResources/ {
alias /usr/lib64/GNUstep/SOGo/WebServerResources/;
expires max;
}
location /SOGo/WebServerResources/ {
alias /usr/lib64/GNUstep/SOGo/WebServerResources/;
expires max;
}
location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
alias /usr/lib64/GNUstep/SOGo/$1.SOGo/Resources/$2;
expires max;
}
UNQUOTE
Thanks again for your time.
Sent from Outlook<http://aka.ms/weboutlook>
________________________________
From: Pou Pas Kale <[email protected]>
Sent: Wednesday, March 3, 2021 9:13 PM
To: [email protected] <[email protected]>
Subject: Re: [SOGo] Change Custom URL at SOGo
Hi Benoît,
Sorry for my mistake..
Could you please send us an example with an nginx configuration
(https://IP_Server/mail) in order to change the URL?
Many thanks again!
Best regards
________________________________
From: [email protected] <[email protected]> on behalf of Benoît
<[email protected]>
Sent: Wednesday, March 3, 2021 4:45 PM
To: [email protected] <[email protected]>
Subject: Re: [SOGo] Change Custom URL at SOGo
Hi
Its not support its community mailing list :)
Yes you can do it with apache or nginx.
Le 3 mars 2021 13:48:49 GMT+01:00, Pou Pas Kale <[email protected]> a écrit :
Hello Support,
We have a CentOS 8 Server with the latest version of SOGo installed. My
question is, if final is it possible to change the /SOGo at the end of the url
of the web access via a proxy or something else.
Your assistance is highly appreciated.
Thanks
--
[email protected]
https://inverse.ca/sogo/lists
--
Benoît Pélissier - Lan2Net
--
[email protected]
https://inverse.ca/sogo/lists
--
[email protected]
https://inverse.ca/sogo/lists