diff options
Diffstat (limited to 'cyfraeviolae.conf')
-rw-r--r-- | cyfraeviolae.conf | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/cyfraeviolae.conf b/cyfraeviolae.conf index 9e7a832..d747564 100644 --- a/cyfraeviolae.conf +++ b/cyfraeviolae.conf @@ -2,7 +2,7 @@ server { server_name cyfraeviolae.org; location /well-ordered { - root /srv/well-ordered; + alias /srv/well-ordered/; } location /sumcheck { @@ -17,6 +17,15 @@ server { proxy_pass http://127.0.0.1:8080; } + location /git { + alias /srv/git/; + fastcgi_param SCRIPT_FILENAME /usr/lib/cgit/cgit.cgi; + fastcgi_pass unix:/var/run/fcgiwrap.socket; + fastcgi_split_path_info ^(/git/?)(.+)$; + fastcgi_param PATH_INFO $fastcgi_path_info; + fastcgi_param QUERY_STRING $args; + } + location / { root /srv/cyfraeviolae; } |