FQDN variable for docker WebUI parameter


13 posts in this topic Last Reply

Recommended Posts

On 2/2/2018 at 7:49 AM, ksarnelli said:

Kind of a shame since unRAID supports ssl/tls now.  Any plans for adding these?

 

Would adding [FQDN] cover it?  Keep in mind this wouldn't work for Docker apps that are given their own IP separate from the unRAID host (e.g. Network type br0 with a IP specified).

Link to post
5 minutes ago, eschultz said:

 

Would adding [FQDN] cover it?  Keep in mind this wouldn't work for Docker apps that are given their own IP separate from the unRAID host (e.g. Network type br0 with a IP specified).

 

[FQDN] should cover it.

 

Understood that it wouldn't work for dockers with their own IPs, but since [FQDN] wouldn't be the default variable used in the WebUI parameter it should be fine.  Anyone who would be manually switching it to [FQDN] would most likely understand that.

 

Thanks a ton!

Edited by ksarnelli
Link to post

What if [FQDN] would fallback to IP if the docker had a different IP? That would be a good user experience I believe.

Also if you didnt have a FQDN set, in case templates online would start using the [FQDN] variabel.

Also +1 for the [HOST] - hostname, I dont use FQDN but I do use hostname in my local network.

Link to post
7 minutes ago, Ziggurat said:

What if [FQDN] would fallback to IP if the docker had a different IP? That would be a good user experience I believe.

I was planning to do just that actually.

 

9 minutes ago, Ziggurat said:

Also +1 for the [HOST] - hostname, I dont use FQDN but I do use hostname in my local network.

I think FQDN would work best as long as your TLD is configured properly (most people will be .local anyways, which is the default).  Reason is MacOS will resolve better using FQDN over just HOSTNAME.  Windows seems to work well with either.

Link to post

@eschultz Okay I see, yeah I am resolving the .local addresses using avahi and nss-mdns.

For me it looked like I needed to install bounjor service on windows to get this to work, which installing almost any apple software will do. I have historically installed the apple print drivers on Windows to get the bounjor service without installing any more bload than the driver files for their usb print server. Last time I did this I needed to use the hostname.local on the raspberry pi sshing over a usb virtual ethernet gadget device.

Link to post
  • 1 month later...
On 2/5/2018 at 5:16 AM, eschultz said:

I was planning to do just that actually.

 

I think FQDN would work best as long as your TLD is configured properly (most people will be .local anyways, which is the default).  Reason is MacOS will resolve better using FQDN over just HOSTNAME.  Windows seems to work well with either.

 

Just checking in to see if this was implemented in 6.5 or if it's planned for a future version?  I didn't see it in the release notes. Thanks!

Link to post
  • 2 years later...
  • 3 weeks later...
  • 4 months later...

I am also interested in this functionality. I would like to use it to configure the WebUI for my organizr docker container to use my server's hostname rather than its IP. This is important because all of the tabs in my organizr instance are referred to by hostname and if the FQDN of the organizr instance does not match the FQDN of the pages which are loaded within the iframes of each tab logins are redirected indefinitely making it impossible to login. Right now, I have hardcoded my server's hostname into the WebUI field but it would be more robust to refer to the hostname indirectly via a [HOST] or [FQDN] variable.

Link to post
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.