diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-02-28 16:18:56 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-02-28 16:33:19 +0800 |
commit | fdd3c05228e9bf4aa2d134bfdfd3f2689b92fbe9 (patch) | |
tree | f2a93ccf645164ce1cc16527d4a0ec8ef9397785 /services/templates | |
parent | fda45d5a11822fa84abf30dbf4b1ff05d2e45c53 (diff) | |
download | crupest-fdd3c05228e9bf4aa2d134bfdfd3f2689b92fbe9.tar.gz crupest-fdd3c05228e9bf4aa2d134bfdfd3f2689b92fbe9.tar.bz2 crupest-fdd3c05228e9bf4aa2d134bfdfd3f2689b92fbe9.zip |
feat(git): use non-root and add robots.
Diffstat (limited to 'services/templates')
-rw-r--r-- | services/templates/cgitrc.template | 3 | ||||
-rw-r--r-- | services/templates/nginx/conf.d/root.conf.template | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/services/templates/cgitrc.template b/services/templates/cgitrc.template index ffffaae..4cc88d2 100644 --- a/services/templates/cgitrc.template +++ b/services/templates/cgitrc.template @@ -10,12 +10,11 @@ enable-log-filecount=1 enable-log-linecount=1 section-from-path=1 -clone-url=@@CRUPEST_ROOT_URL@@/$CGIT_REPO_URL +clone-url=@@CRUPEST_ROOT_URL@@$CGIT_REPO_URL snapshots=tar.gz tar.bz2 zip source-filter=/usr/lib/cgit/filters/syntax-highlighting.py about-filter=/usr/lib/cgit/filters/about-formatting.sh readme=:README.md readme=:README -remove-suffix=1 scan-path=/git/ diff --git a/services/templates/nginx/conf.d/root.conf.template b/services/templates/nginx/conf.d/root.conf.template index dd223c2..28c2fea 100644 --- a/services/templates/nginx/conf.d/root.conf.template +++ b/services/templates/nginx/conf.d/root.conf.template @@ -14,7 +14,7 @@ server { location /git/ { include common/proxy-common; client_max_body_size 5G; - proxy_pass http://git-server:80; + proxy_pass http://git-server:3636; } location = /github { |