I host my own Phanpy but there's a feature in dev (automatically populate alt-text if it's embedded in images, yessss!!!) I really want. So, I finally setup a build container for @phanpy and a small script to extract out the static folder so I can continue serving it out via Caddy. I wrote a quick post about it, I'm sure there are better and more idiomatic ways of doing this, so advice is welcome.
caddy
Edited 286d ago
#caddy
caddy在有些任务时确实很简单易用,但在另一些任务时难度简直是地狱级别,比如缓存上游的响应:
https://gist.github.com/HolgerHuo/4d8862e888ea340a645683a871074755
I wrote a small blog post about some Best Practices for the Webserver Caddy. Although the header part applies basically to all webservers.
Kinda new to this whole blog thing (started on 25.), so let me know what you think :)
https://catinashell.de/posts/secure-a-caddy-server-and-best-practices/
Edited 73d ago
