1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ servers { trusted_proxies static private_ranges } } {$SITE_ADDRESS::80} @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 } }