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 <LocationMatch ^/(?!cgit-css/.*|favicon\.ico|robots\.txt|\.well-known/acme-challenge/)> ProxyPass unix:/run/uwsgi/app/local-git/socket|uwsgi://local-git </LocationMatch>