summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
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;