diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-09-21 18:48:19 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-09-21 18:48:19 +0200 |
commit | 9d9fe107d0de34602775cbee2ca5208d604e0c5b (patch) | |
tree | b269e53cc63202c5e4114d731f912f7b33676be7 /roles/git/files/etc/nginx/sites-available/gitweb | |
parent | f13bae3697d23437af6af325262e75281dec2e30 (diff) |
Replace gitweb with cgit.
Diffstat (limited to 'roles/git/files/etc/nginx/sites-available/gitweb')
-rw-r--r-- | roles/git/files/etc/nginx/sites-available/gitweb | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/roles/git/files/etc/nginx/sites-available/gitweb b/roles/git/files/etc/nginx/sites-available/gitweb deleted file mode 100644 index 3814145..0000000 --- a/roles/git/files/etc/nginx/sites-available/gitweb +++ /dev/null @@ -1,48 +0,0 @@ -server { - listen 80; - listen [::]:80; - - server_name gitweb.fripost.org; - - access_log /var/log/nginx/gitweb.access.log; - error_log /var/log/nginx/gitweb.error.log info; - - location ^~ /static/ { - alias /usr/share/gitweb/static/; - } - - try_files $uri @fcgi; - location @fcgi { - root /var/lib/gitolite/repositories; - include fastcgi/params; - fastcgi_pass unix:/run/gitweb.socket; - gzip off; - } -} - - -server { - listen 443; - listen [::]:443; - - server_name gitweb.fripost.org; - - include ssl/config; - ssl_certificate /etc/nginx/ssl/git.fripost.org.pem; - ssl_certificate_key /etc/nginx/ssl/git.fripost.org.key; - - access_log /var/log/nginx/gitweb.access.log; - error_log /var/log/nginx/gitweb.error.log info; - - location ^~ /static/ { - alias /usr/share/gitweb/static/; - } - - try_files $uri @fcgi; - location @fcgi { - root /var/lib/gitolite/repositories; - include fastcgi/params; - fastcgi_pass unix:/run/gitweb.socket; - gzip off; - } -} |