docker nginx .well-known redirects don't include port number
Is there documentation on how to properly configure baikal with a port number? It's been working with various apps, but with planify it doesn't work because the port number isn't put in the redirect or something.
See https://github.com/alainm23/planify/issues/1743
Hello I just made PR to fix this issue: https://github.com/ckulka/baikal-docker/pull/301, hope it helps.
Thank you! So I can test it now, what file did you edit? My docker container doesn't have a /files/nginx.conf. Do I make the changes to /etc/nginx/nginx.conf? (but that file looks very different to the one your PR edits).
You can see my changes here.
Remplacing /dav.php by $scheme://$http_host/dav.php in the rewrite rules helps keeping the request scheme (http or https) and the request host (including port if it was requested which should help your case).
Oh I found it! Within a docker container, the file I have to edit it /etc/nginx/conf.d/default.conf (that corresponds to the one you edit in your PR).
It worked 🎉 !! Thank you so much!