Skip to content

docker-compose example nginx.conf produces card/caldav error #927

@kowjens

Description

@kowjens

The actual example nginx.conf under

.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/web/nginx.conf

contains a change in the card/calldav redirecting section (line 81 and 85):

return 301 $scheme://$host:$server_port/remote.php/dav;

If I use this I get an error in the settings->overviev page inside nextcloud saying I should consult the docs:

docs.nextcloud.com #service-discovery

I checked my old config and found the :$server_port part is causing the problem. This fixes the problem:

return 301 $scheme://$host/remote.php/dav;

for both location = /.well-known/carddav and accordingly in the calldav section.

Someone else found this issue or is this wanted and just caused by my setup :) ?

kr Jens

Metadata

Metadata

Assignees

No one assigned

    Labels

    examplesCompose/Dockerfile/etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions