Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery url returns url with incorrect port #41223

Closed
Windree opened this issue Mar 19, 2024 · 1 comment
Closed

Discovery url returns url with incorrect port #41223

Windree opened this issue Mar 19, 2024 · 1 comment

Comments

@Windree
Copy link

Windree commented Mar 19, 2024

Steps to reproduce

  1. Install owncloud docker server using docker-compose.yml docker-compose.txt
    (from attachment). Specify OWNCLOUD_DOMAIN=cloud.dragonsoul.com in the .env file
    env.txt

  2. Run docker docker-compose up --build

  3. Setup nginx reverse proxy using following http server configuration nginx-http-server.txt

  4. Run/reload nginx

  5. add nginx_server_ip_address cloud.dragonsoul.com in you local hosts file

  6. open browser and enter https://cloud.dragonsoul.com/

  7. login owncloud using credentials from .env

  8. Install calendar and contacts apps

  9. Request https://cloud.dragonsoul.com/.well-known/caldav with curl or a browser

Expected behaviour

https://cloud.dragonsoul.com/.well-known/caldav should returns redirect to http://cloud.dragonsoul.com/remote.php/dav/

Actual behaviour

https://cloud.dragonsoul.com/.well-known/caldav returns redirect to http://cloud.dragonsoul.com:8080/remote.php/dav/. With 8080 port ignoring OWNCLOUD_DOMAIN env setting

Server configuration

Operating system:
Ubuntu 22.04 Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
Web server:
Apache/2.4.41 (Ubuntu)
Database:
mariadb:10.11
PHP version:
PHP 7.4.3-4ubuntu2.20 (cli) (built: Feb 21 2024 13:54:34) ( NTS )
ownCloud version: (see ownCloud admin page)
10.14.0 (stable)
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
dockerhub

@iasdeoupxe
Copy link

iasdeoupxe commented Mar 19, 2024

Looks more like a support request for https://central.owncloud.org/ rather that a bug / issue in ownCloud directly (there are various configuration options to control this behavior, either via Docker environment variables on Docker installations or config.php options on plain installations).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants