summaryrefslogtreecommitdiff
path: root/Caddyfile
diff options
context:
space:
mode:
Diffstat (limited to 'Caddyfile')
-rw-r--r--Caddyfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Caddyfile b/Caddyfile
index b783e7b..7458b93 100644
--- a/Caddyfile
+++ b/Caddyfile
@@ -1,18 +1,18 @@
1{$DOMAIN} { 1{$DOMAIN} {
2 handle {$CGIT_CSS} { 2 handle {$CGIT_CSS} {
3 root * /usr/share/webapps/cgit 3 root * /usr/share/cgit
4 file_server 4 file_server
5 } 5 }
6 6
7 handle {$CGIT_LOGO} { 7 handle {$CGIT_LOGO} {
8 root * /usr/share/webapps/cgit 8 root * /usr/share/cgit
9 file_server 9 file_server
10 } 10 }
11 11
12 handle { 12 handle {
13 reverse_proxy unix/{$FCGI_SOCK} { 13 reverse_proxy unix/{$FCGI_SOCK} {
14 transport fastcgi { 14 transport fastcgi {
15 env SCRIPT_FILENAME /usr/share/webapps/cgit/cgit.cgi 15 env SCRIPT_FILENAME /var/www/cgi-bin/cgit
16 env QUERY_STRING {query} 16 env QUERY_STRING {query}
17 env HTTP_HOST {host} 17 env HTTP_HOST {host}
18 env PATH_INFO {path} 18 env PATH_INFO {path}