diff options
| author | Christian <[email protected]> | 2026-01-30 20:22:19 -0600 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-01-30 20:22:19 -0600 |
| commit | 4f12e4ca91d5042b2290ef763a012544e43e0583 (patch) | |
| tree | 528c066afbb6c62bc951cd3831386406b37736bd /Caddyfile | |
Initial commit
Diffstat (limited to 'Caddyfile')
| -rw-r--r-- | Caddyfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Caddyfile b/Caddyfile new file mode 100644 index 0000000..125cf2b --- /dev/null +++ b/Caddyfile @@ -0,0 +1,14 @@ +{$SITE_ADDRESS:localhost} + +@assets path /cgit.css /cgit.js /cgit.png /favicon.ico /robots.txt +handle @assets { + root * /usr/share/webapps/cgit + file_server +} + +reverse_proxy unix//var/run/fgciwrap.sock { + transport fastcgi { + env SCRIPT_FILENAME /usr/share/webapps/cgit/cgit.cgi + } +} + |
