From 051ffbb13f1db0458b21a7afa3a8094ae9dfc5ea Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 3 Mar 2024 02:24:33 +0000 Subject: update --- etc/nginx/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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; -- cgit v1.2.3-70-g09d2