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

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

Looking for more? Join the community!

Recommended Posts
"https://esm.sh/mercadopago@1.5.15" Is not workin on deploy"https://esm.sh/mercadopago@1.5.15" Is not workin on deno deploy, any clues? it works on local but Simulating physics collisions across isolatesA bit tangential to Deno, but since Deploy uses v8 isolates, it seems that a multiplayer online gameDeno showing node globalThis errorDeno is showing this error: ```js error: Uncaught ReferenceError: __DENO_NODE_GLOBAL_THIS_0_43_0__ iHow to read Chunked request body?Hello! Is it possible to read a chunked request body using `for await`? It seems to only read up to Deno Fresh (Saaskit base) - Impossible to debug errorWhen I try to access my account by logging in, the web app becomes unusable and I get this errorPossible to deploy the chat example to deno deploy?I would like to try running this demo on deno deploy: https://deno.com/manual@v1.34.0/examples/chat`dnt` incompatible with `addEventListener`?I am using the log/mod.ts module from deno_std and running `dnt` with no special configuration as faSaaskit 0.2.0 - URLPattern errorI followed the README.md but when running `deno task start` this error pops up (image) How can i fiRunning `deno cache` fails often with internal server errors when importingExample message ``` error: Import 'https://deno.land/std@0.175.0/path/_constants.ts' failed: 500 IntHow many Web Platform tests should deno be passing?I wanted to package Deno as RPMs but before I started that, I'm getting very different test results Deno Deploy with Cloudflare ProxyIs it possible to use Cloudflare proxy with Deno deploy website? Cloudflare provides countryCode inDeno event loop and gui applicationHi, I am trying to write custom gtk library in deno using `gtk-rs` and `deno_runtime`. I already havSimple type narrowing/type guard/assertion (?)Is there really no simpler way of doing this _without_ `any` and without external deps? ```ts exporImport is "Not yet initialized?"No idea what this means. First screenshot is error, second screenshot is problematic line, third sc