tailscale-dev / docker-mod

The home for our universal Docker mod
BSD 3-Clause "New" or "Revised" License
47 stars 26 forks source link

support for https+insecure? #13

Open bfallik opened 7 months ago

bfallik commented 7 months ago

Hi. Thanks for your great work on this mod!

I have an app which I'd like to containerize and serve within my tailnet. The app only serves HTTPS and uses a self-signed CERT by default.

I saw the recent announcement reintroducing serve and this example caught my eye:

# Ignore an invalid or self-signed certificate

$ tailscale serve https+insecure://localhost:5454 ...

I'd love to use this scheme to serve the local and self-signed HTTPS port but this mod seems hard-coded for http.

What's the likelihood of enhancing this code to support the new syntax?

Thanks!

brian

campfred commented 7 months ago

That would also be handy for using it on UniFi Network application that does the same thing.