Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Caddy is brilliant for this task.


For reference the HTTPS one-liner with Caddy [1] would be:

    caddy file-server --domain example.com
And similarly for HTTPS reverse proxy:

    caddy reverse-proxy --from example.com --to localhost:9000
[1]: https://caddyserver.com/

This plus hosts file can be a quick way to test secure cookies, secure headers, etc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: