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

Support for URL shortener #57

Closed
sualko opened this issue Jul 31, 2020 · 0 comments
Closed

Support for URL shortener #57

sualko opened this issue Jul 31, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@sualko
Copy link
Member

sualko commented Jul 31, 2020

Is your feature request related to a problem? Please describe.
Room urls can be pretty long, depending on the domain name and installation folder of Nextcloud. (e.g.https://cloud.foobar-company.com/nextcloud/apps/bbb/b/Ek6YxBiwPzYroMbq)

Describe the solution you'd like
Admin option to define a forwarding server with shorter url.

ServerName room.foobar.com

RewriteEngine on
RewriteRule   "^/(\w+)"  "https://cloud.foobar-company.com/nextcloud/apps/bbb/b/$1"  [R=302,L]

https://room.foobar.com/Ek6YxBiwPzYroMbq ➡️ https://cloud.foobar-company.com/nextcloud/apps/bbb/b/Ek6YxBiwPzYroMbq

@sualko sualko added the enhancement New feature or request label Aug 25, 2020
@sualko sualko closed this as completed in 5debcb6 Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant