diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-05-17 22:02:49 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-05-17 22:02:49 +0900 |
| commit | 5bf46bbac5feda06ec10575c6293974d80b2e3df (patch) | |
| tree | b5485bb47f9e9eb9f104913ac6e9e26e886b6902 /cgit/lighttpd.conf | |
| parent | edb99c9da2198482345a1c3fc9f24a115d0aa62a (diff) | |
- lighttpd.conf: exempt static files from CGI rewrite
- deploy.sh: add --build to rebuild image on config changes
- CLAUDE.md, Deploy.md: add cgit directory and deploy notes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cgit/lighttpd.conf')
| -rw-r--r-- | cgit/lighttpd.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cgit/lighttpd.conf b/cgit/lighttpd.conf index bdc295b..1ce38cc 100644 --- a/cgit/lighttpd.conf +++ b/cgit/lighttpd.conf @@ -10,5 +10,6 @@ index-file.names = ("cgit.cgi") cgi.assign = (".cgi" => "") url.rewrite-once = ( + "^/(cgit\.css|cgit\.js|cgit\.png|cgit-favicon\.png)$" => "/$1", "^(/[^?]*)(?:\?(.*))?$" => "/cgit.cgi?url=$1&$2" ) |
