v0.1.13
Fixed
- Static assets (CSS, JS, fonts, images) on PHP projects using the v0.1.12
FastCGI default were being routed throughphp-cgiinstead of served
directly. PHP passes non-PHP content through literally, so the bytes were
correct, butphp-cgi's default response has noContent-Typeheader, so
everything came back astext/html— browsers silently accept that for
scripts but strictly refuse it for stylesheets, so any project relying on
Caddy to serve its own static files (plain PHP, WordPress, phpMyAdmin)
rendered completely unstyled. The FastCGI route now only proxies*.php
requests and serves everything else directly, matching Caddy's own
documented expansion of itsphp_fastcgiCaddyfile directive. Verified
live against the real packaged binary: a phpMyAdmin stylesheet now comes
back asContent-Type: text/css(wastext/html), served directly by
Caddy.
Install
irm https://github.com/sanayasfp/stack/releases/latest/download/stackenv-installer.ps1 | iexor
cargo install stackenv