From e905d82d1910657fb17cb73ac132f56bfb39d085 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 12 Nov 2019 08:21:08 +0100 Subject: moving from skeleton to extra, and removing dnns.no --- mkosi.extra/etc/nginx/sites-available/cgit | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 mkosi.extra/etc/nginx/sites-available/cgit (limited to 'mkosi.extra/etc/nginx/sites-available/cgit') diff --git a/mkosi.extra/etc/nginx/sites-available/cgit b/mkosi.extra/etc/nginx/sites-available/cgit new file mode 100644 index 0000000..c243ec9 --- /dev/null +++ b/mkosi.extra/etc/nginx/sites-available/cgit @@ -0,0 +1,16 @@ +server { + listen 8305 default_server; + listen [::]:8305 default_server; + server_name cgit; + + location / { + fastcgi_pass unix:/run/fcgiwrap.socket; + fastcgi_param SCRIPT_FILENAME /usr/lib/cgit/cgit.cgi; + fastcgi_param PATH_INFO $uri; + fastcgi_param QUERY_STRING $args; + } + + location /cgit { + alias /usr/share/cgit; + } +} -- cgit v1.2.3