https://git.zue.dev {
encode zstd gzip
+
+ @clean_url {
+ path_regexp repo ^/([^/]+)/?$
+ not path *.css *.js *.png *.gif *.ico
+ }
+
+ rewrite @clean_url /?p={re.repo.1};a=summary
+
reverse_proxy http://gitweb:80
}
\ No newline at end of file
echo "\$$feature{'avatar'}{'default'} = ['gravatar'];" >> /etc/gitweb.conf && \
echo "\$$feature{'timed'}{'default'} = [1];" >> /etc/gitweb.conf && \
echo "\$$feature{'remote_heads'}{'default'} = [1];" >> /etc/gitweb.conf && \
- echo "\$$feature{'pathinfo'}{'default'} = [1];" >> /etc/gitweb.conf && \
nginx -g 'daemon off;'
ports:
- 8080:80