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