/|\  /|\
/|\ /|\15mo ago

Trying to use Deno.serve() for an https static hosting

I was trying to setup an simple hello world response in https on my custom domain.
6 Replies
/|\  /|\
/|\ /|\15mo ago
My source file:
/|\  /|\
/|\ /|\15mo ago
And my error:
/|\  /|\
/|\ /|\15mo ago
Run with: deno run --allow-all --unstable static.ts
mmastrac
mmastrac14mo ago
Interesting. Does dashboard.gaskam.com resolve to an IP that is available for your host? Does it work if you omit the hostname?
/|\  /|\
/|\ /|\14mo ago
The main problem was that the ssl certificate didn't work for ips, but my solution was to set hostname to local ip
lcasdev
lcasdev14mo ago
@kamil.l you can just omit the hostname also