summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-03-03 02:24:33 +0000
committerXiao Pan <gky44px1999@gmail.com>2024-03-03 02:24:33 +0000
commit051ffbb13f1db0458b21a7afa3a8094ae9dfc5ea (patch)
tree4536a57e2223ba2ef21833092afe1478954ae35d /etc
parentd1599a6975e0e0eb4eb5d1399b3338ea7184c9b8 (diff)
update
Diffstat (limited to 'etc')
-rw-r--r--etc/nginx/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf
index f29893d7..a837cf54 100644
--- a/etc/nginx/nginx.conf
+++ b/etc/nginx/nginx.conf
@@ -171,8 +171,8 @@ http {
# about (?:) non-capturing group:
# - https://manifold.net/doc/radian/why_do_non-capture_groups_exist_.htm
# - non-capturing group won't capture things inside () which may use later like in sed \1
+ # - note: I don't think sed support ?: , because POSIX ERE and BRE doesn't seem to support ?:
# - maybe improve a little bit performance by not storing things (not tested, also I did not read the source code)
- # - POSIX ERE and BRE seems do not support this
# Serve static files with nginx
location ~ ^/(?:cgit\.(?:css|png)|robots\.txt|highlight\.css|mycgit\.css)$ {
root /usr/share/webapps/cgit;