summaryrefslogtreecommitdiffstats
path: root/mkosi.skeleton/root/nginx.git.dnns.no
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-10-19 10:35:11 +0200
committerDennis Eriksen <d@ennis.no>2019-10-19 10:35:11 +0200
commit60e5af6f1e162bca9ab2b3dd1cbcaa1e6e093901 (patch)
tree7ab551a62c6633c68c131ace3d4cc62b915fc301 /mkosi.skeleton/root/nginx.git.dnns.no
downloadmkosi-cgit-60e5af6f1e162bca9ab2b3dd1cbcaa1e6e093901.tar.gz
initial commit
Diffstat (limited to 'mkosi.skeleton/root/nginx.git.dnns.no')
-rw-r--r--mkosi.skeleton/root/nginx.git.dnns.no19
1 files changed, 19 insertions, 0 deletions
diff --git a/mkosi.skeleton/root/nginx.git.dnns.no b/mkosi.skeleton/root/nginx.git.dnns.no
new file mode 100644
index 0000000..a43e4fb
--- /dev/null
+++ b/mkosi.skeleton/root/nginx.git.dnns.no
@@ -0,0 +1,19 @@
+server {
+ listen 8305 default_server;
+ listen [::]:8305 default_server;
+ server_name git.dnns.no;
+
+ access_log /var/log/nginx/git.dnns.no-access.log;
+ error_log /var/log/nginx/git.dnns.no-error.log;
+
+ 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;
+ }
+}