serve_ssl
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
This is a library to use via esm with deno cli.
Self-signed HTTPS development server with auto-generated SSL certificates. This is an ssl equivalent to "deno serve" until Deno upstream enables ssl via cli.
USAGE:
deno run --unstable-net --watch -A https://esm.town/v/taras/serve_ssl [OPTIONS]
OPTIONS:
-h, --help Show this help message
--port <NUMBER> Port to listen on (default: 443)
--handler <PATH> Path to handler module (default: "./main.ts")
EXAMPLES:
# Run with defaults (port 443, main.ts handler)
deno run --unstable-net --watch -A https://esm.town/v/taras/serve_ssl
# Run on port 8443 with custom handler
deno run --unstable-net --watch -A https://esm.town/v/taras/serve_ssl --port 8443 --handler "file://$PWD/custom.ts"