diff options
| author | Henry J. Webster <hwebs@hwebs.info> | 2026-10-31 13:33:43 -0500 |
|---|---|---|
| committer | Henry J. Webster <hwebs@hwebs.info> | 2026-10-31 13:33:43 -0500 |
| commit | fc667669efbffdaa93e10a4ccef9142f1aff96ab (patch) | |
| tree | 20ab72cc14ddff255361040168de348624ba5ba9 /site/cgit/Caddyfile | |
| parent | fac36c23ec8fd10b0bf8cf76647c830046f1d0c2 (diff) | |
re-organize directories
Diffstat (limited to 'site/cgit/Caddyfile')
| -rw-r--r-- | site/cgit/Caddyfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/site/cgit/Caddyfile b/site/cgit/Caddyfile new file mode 100644 index 0000000..679610a --- /dev/null +++ b/site/cgit/Caddyfile @@ -0,0 +1,15 @@ +git.hwebs.info { + @static path /cgit.css /cgit.png /cgit.js /favicon.ico /robots.txt /profile.png + handle @static { + root * /usr/local/www/cgit + file_server + } + + handle { + reverse_proxy unix//var/run/fcgiwrap/fcgiwrap.sock { + transport fastcgi { + env SCRIPT_FILENAME /usr/local/www/cgit/cgit.cgi + } + } + } +} |
