/|\  /|\
/|\ /|\13mo 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
/|\  /|\
/|\ /|\13mo ago
My source file:
/|\  /|\
/|\ /|\13mo ago
And my error:
/|\  /|\
/|\ /|\13mo ago
Run with: deno run --allow-all --unstable static.ts
mmastrac
mmastrac13mo ago
Interesting. Does dashboard.gaskam.com resolve to an IP that is available for your host? Does it work if you omit the hostname?
/|\  /|\
/|\ /|\13mo 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
lcasdev13mo ago
@kamil.l you can just omit the hostname also