Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

正则匹配 #12

Open
jingsansheng opened this issue Aug 6, 2018 · 1 comment
Open

正则匹配 #12

jingsansheng opened this issue Aug 6, 2018 · 1 comment

Comments

@jingsansheng
Copy link

access_log_bypass_if ($request_uri ~* '.+.(css|js|jpg|jpeg|png)');
这样的语句openresty里面为什么不起作用

@cfsego
Copy link
Owner

cfsego commented Apr 12, 2019

你可以在location 里面用相同的正则看看有没有用.
有用, 这是bug
没用, 正则写错了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants