blob: 27a6c1308ed0a7d57488b3553781890397884bd1 (
plain)
- AddDefaultCharset UTF-8
- <Directory /usr/share/cgit>
- Options None
- AllowOverride None
- Require all granted
- </Directory>
- Alias /cgit-css/ /usr/share/cgit/
- Alias /favicon.ico /usr/share/cgit/favicon.ico
- Alias /robots.txt /usr/share/cgit/robots.txt
- # this requires cgit config: enable-index-links=1
- RedirectMatch permanent ^/([^./]+)\.git(/.*) /$1$2
- <LocationMatch ^/(?![^./]+\.git/|cgit-css/.*|favicon\.ico|robots\.txt|\.well-known/acme-challenge/)>
- ProxyPass unix:/run/uwsgi/app/local-git/socket|uwsgi://local-git
- </LocationMatch>
|