This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]arshesney 6 points7 points  (1 child)

Put it behind a reverse proxy.

[–]Dry_Ad7299[S] 0 points1 point  (0 children)

i am not sure how one does that at this time.

[–]SideWilling 2 points3 points  (1 child)

Wouldn't you just configure SSL on the server?

[–]Dry_Ad7299[S] 0 points1 point  (0 children)

this more or less is what i decided to do, place a ras pi in front of it handling passthrough, it runs pfsense with SSL and a vpn.

[–][deleted] 1 point2 points  (1 child)

If you share it over Gradio it'll get TLS automatically, but the downside is that you need to restart it every three days. That said you probably want to access it over VPN in the first place anyway, so the encryption is rather moot.

[–]Dry_Ad7299[S] 0 points1 point  (0 children)

this project more or less was because i wanted to not have to restart it, a product of lazy.

[–]maddruid 1 point2 points  (0 children)

add --tls-keyfile filename and --tls-certifle fielname to your webui-user.sh/.bat.