Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Redirecting nextcloud URL

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 179 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sgw
      last edited by

      old nextcloud runs without HAproxy behind a portforwarding (443, SSL/TLS on the box itself) and is reached via:

      https://mail.my.tld/nextcloud

      new nextcloud is inside a docker container and behind HAproxy (SSL/TLS offloading)

      https://cloud.my.tld

      The old links should stay valid ... for example calendar links like:

      https://mail.my.tld/nextcloud/remote.php/dav/calendars/stefan@my.tld/pers%c3%b6nlich/

      should be kept working while also this should work:

      https://cloud.my.tld/remote.php/dav/calendars/stefan@my.tld/pers%c3%b6nlich/

      Should/could that be solved on the level of HAproxy or should I better write some Rewrite-statements in the target apache?

      I assume there are multiple ways to solve that, and I wonder if someone could help me to find the most elegant and reliable solution.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.