expose icon indicating copy to clipboard operation
expose copied to clipboard

separate client configuration of server and domain

Open dakira opened this issue 5 years ago • 3 comments

This is a feature request.

It would be nice to be able to configure which host should be used to connect to the expose server and which base domain should be used to generate the links displayed client-side.

Example:

  • https://*.example.com responds with the expose server
  • https://expose.example.com shows the admin backend
  • https://example.com does not respond with the expose server but with a webpage

An easy workaround to still use expose is setting something.example.com as the host. This will work and correctly set up the forward. Unfortunately the client now tells me I can connect to https://jfh347y78y.something.example.com while https://jfh347y78y.example.com would be correct. That's why optionally setting the base domain would be practical.

I can PR a solution if you like.

dakira avatar Jun 24 '20 08:06 dakira

I would like this as well, hoping for a PR from you, @dakira

MithrandirDK avatar Aug 11 '20 06:08 MithrandirDK

I tried looking into it myself, but must admit I am simply unable to distinguish between

  • domain
  • sharedUrl
  • host
  • hostname that is used throughout this application - and sometimes changing from hostname to host or vice versa through the function calls.

MithrandirDK avatar Aug 27 '20 11:08 MithrandirDK

@MithrandirDK hey. I'll wait for @mpociot to comment before working on a PR.

dakira avatar Sep 07 '20 10:09 dakira

Closing this issue because it's old 🙈

sschlein avatar Dec 21 '23 13:12 sschlein