在 Nginx 的文档中,我注意到一些位置正则表达式看起来像
location ~ \..*/.*\.php$ {
有些看起来像
location ~* \.(txt|log)$ {
这两种正则表达式形式(~
和~*
)之间有什么区别吗
在 Nginx 的文档中,我注意到一些位置正则表达式看起来像
location ~ \..*/.*\.php$ {
有些看起来像
location ~* \.(txt|log)$ {
这两种正则表达式形式(~
和~*
)之间有什么区别吗