[horde] Debian 11 + php7.4 + nginx 1.18

Ruud Baart r.j.baart at prompt.nl
Fri Apr 1 08:11:12 UTC 2022


The upgrade is ready.

Horde works fine on Debian 11 with nginx, postgres, dovecot.

Only only one problem remains: tbsync/caldav does not work. The 
credentials of the user does not arrive.

Using curl to see what is send:* Server auth using Basic with user 
'loisir-pour-tous at st-andre-le-desert.fr'

     > GET /rpc/kronolith/user at domain.example/id_calender_in_horde.ics
    HTTP/1.1
     > Host: horde.domain.example
     > Authorization: Basic
    bG9pc2lyLXBvdXItdG91c0BzdC1hbmRyZS1sZS1kZXNlcnQuZnI6YXQ4Tytsd2Fz
     > User-Agent: curl/7.82.0
     > Accept: */*

I think it is the Authorization header that is not correctly managed by 
fastcgi. I don't know how to solve this.

If I solve this problem I think everything works and fast.

The Apache setup uses:

RewriteRule .* - [E=HTTP_MS_ASPROTOCOLVERSION:%{HTTP:Ms-Asprotocolversion}]
   RewriteRule .* - [E=HTTP_X_MS_POLICYKEY:%{HTTP:X-Ms-Policykey}]
   RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
I assume these rewrite are needed  for active_sync and caldav. Active 
sync works fine so the last rewrite rule is probably not "active" in the 
nginx/fastgi setup.

Anyone solved this one?



On 3-3-2022 10:06, Ruud Baart wrote:
> Hi,
>
> I'm upgrading my servers. From Debian 10 (+backports), php7.3 and 
> Apache to news servers with Debian 11, php7.4 and nginx.
>
> There are quite some examples of nginx configurations. Also here: 
> https://wiki.horde.org/webserver/nginx. So I assume Horde works fine 
> with nginx.
>
> However, before I continue with my new servers, I still have the 
> choice between Apache and Nginx. I'm curious if members of this list 
> have experience with the intended configuration.
>
> If possible, I would like so see a working (and secure) nginx 
> configuration.
>
>
> Ruud Baart
>


More information about the horde mailing list