You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
Instead of having multiple services for sandbox (Deno) vs. dev (simple-http-server) vs. production (Traefik) we should moved to a unified Caddy-based strategy:
Switch from Deno pubctl.ts experimental / sandbox model to deno_fcgi via Caddy with spawn-fcgi/FCGI::Spawn for serving hot-reloadable / watchable builds
Switch from simple-http-server to Caddy (see config hints for configuring spawn-fcgi).
Add a caddy parameter to pubctl.ts (similar to serve) that would generate a Caddyfile for execution after all other resources were created. This way no separate execution script is required.
Consider using Caddy in production with oAuth support instead of Traefik with oauth_proxy
Consider using Pglet approach to "micro apps" by integrating a single service point and then, similar to CGI or FastCGI, allowing applets to be created
shah
changed the title
Switch from custom static file and simple-http-server web serving to Caddy
Switch from custom / simple-http-server web serving to Caddy
Dec 21, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Instead of having multiple services for sandbox (Deno) vs. dev (
simple-http-server
) vs. production (Traefik
) we should moved to a unified Caddy-based strategy:simple-http-server
to Caddy (see config hints for configuring spawn-fcgi).caddy
parameter topubctl.ts
(similar toserve
) that would generate aCaddyfile
for execution after all other resources were created. This way no separate execution script is required.In case we need native websockets:
The text was updated successfully, but these errors were encountered: