Re: [SOGo] Sogo with Postfixadmin

2023-03-22 Thread Eben van Deventer
Hi William, I think this might be an ACL issue, check attached how-to I did
for a deployment with SOGo, PostfixAdmin and MySQL:
Debian 11 Groupware Server - LEMP Stack | BuFf0k
<https://www.buff0k.co.za/tutorial/debian-11-groupware-lemp>

On Wed, 22 Mar 2023 at 15:15, Marco Moock  wrote:

> Am 22.03.2023 um 11:26:06 Uhr schrieb William Bowden:
>
> > I have this running in all except shared items whenever I go to share
> > say calendar I type in the email and nothing.
>
> What do you expect?
> Does the sharing work?
>
> --
> Gruß
> Marco Moock
> URZ Uni Heidelberg
>


-- 
Eben van Deventer (AKA Buff)
+27 83 548 6207
+27 11 391 2258
buf...@gmail.com


Re: [SOGo] SOGo with NginX Reverse Proxy - White Screen no CSS

2023-01-09 Thread Eben van Deventer
Thank you, I have done this, both on the rewrite as well as the location =
^/SOGo/ lines, this fixes the CSS issue on the frontpage, however I am now
having a different issue after logging in, will try and solve that.

On Sat, 7 Jan 2023 at 17:13, Jose David Bravo A  wrote:

> Hello,
>
> Please try to change the folowing block:
>
>  location = / {
> rewrite ^ http://$server_name/SOGo;
> allow all;
>   }
>
> for
>
>  location = / {
> rewrite ^ http://$server_name/SOGo/;
> allow all;
>   }
>
> And restart your sogo, probably those wrong resources URLs are being
> cached incorrectly.
>
> Please always use a / after SOGo, if not, a wrong value can be parsed into
> the appName (please remember that SOGo extract the appName from the first
> characters of the URL, until it finds a /).
>
> Jose Bravo
>
> --
> *De: *"users" 
> *Para: *"users" 
> *Enviados: *Sábado, 7 de Enero 2023 1:38:26
> *Asunto: *Re: [SOGo] SOGo with NginX Reverse Proxy - White Screen no CSS
>
> Interresting, when comparing the source to the source for the Debian Repo
> version running behind Apache on one of my other servers I note this:
>
> Not Working:  href="/.woa/WebServerResources/img/sogo.ico?lm=1673014221" rel="shortcut
> icon" type="image/x-icon" />
> Working:  href="/SOGo.woa/WebServerResources/img/sogo.ico?lm=1636663461"
> rel="shortcut icon" type="image/x-icon" />
>
> (This applies to all link href attributes)
>
> I suspect my rewrite instruction is the issue...
>
>

-- 
Eben van Deventer (AKA Buff)
+27 83 548 6207
+27 11 391 2258
buf...@gmail.com


Re: [SOGo] SOGo with NginX Reverse Proxy - White Screen no CSS

2023-01-07 Thread Eben van Deventer
Interresting, when comparing the source to the source for the Debian Repo
version running behind Apache on one of my other servers I note this:

Not Working: 
Working: 

(This applies to all link href attributes)

I suspect my rewrite instruction is the issue...


[SOGo] SOGo with NginX Reverse Proxy - White Screen no CSS

2023-01-06 Thread Eben van Deventer
Hi all

I have found only one previous post in this regard and there was no
resolution that I can see from the archive as this user was using iRedMail,
which is not the case for me:

When I connect to SOGo via the NginX reverse Proxy I get a white screen
with no formatting or CSS (Attached Screenshot). I have tried various
configurations from online to configure the Virtual Host and this keeps
being the case each time.

I would appreciate if anyone could tell me where I am going wrong, have
configured on a seperate server behind Apache, however on this server
Apache is not an option due to the way it is being deployed.

System:
Debian 11 (Fully Updated)
Nginx and SOGo from official Repos (Not Debian Repos)
16GB RAM
16 Core XEON

My NginX Virtual Host as follows:

server {
  listen 80 default;
  server_name mail.buff0k.co.za;
  root /usr/lib/GNUstep/SOGo/WebServerResources/;
  location = / {
rewrite ^ http://$server_name/SOGo;
allow all;
  }
  # For IOS 7
  location = /principals/ {
rewrite ^ http://$server_name/SOGo/dav;
allow all;
  }
  location ^~/SOGo/ {
proxy_pass http://127.0.0.1:2;
proxy_redirect http://127.0.0.1:2 default;
# 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;
proxy_set_header x-webobjects-server-protocol HTTP/1.0;
proxy_set_header x-webobjects-remote-host 127.0.0.1;
proxy_set_header x-webobjects-server-name $server_name;
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 100m;
client_body_buffer_size 128k;
break;
  }
  location /SOGo.woa/WebServerResources/ {
alias /usr/lib/GNUstep/SOGo/WebServerResources/;
allow all;
  }
  location /SOGo/WebServerResources/ {
alias /usr/lib/GNUstep/SOGo/WebServerResources/;
allow all;
  }
  location ^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$ {
alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2;
  }
  location
^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources/.*\.(jpg|png|gif|css|js)$
{
alias /usr/lib/GNUstep/SOGo/$1.SOGo/Resources/$2;
  }
}

-- 
Eben van Deventer (AKA Buff)
+27 83 548 6207
+27 11 391 2258
buf...@gmail.com