nginx怎样判断链接是否以html结尾

2025-02-27 23:56:25
推荐回答(1个)
回答1:

location ~* html$ {}

以html结尾

location ~* \.html$ {}

以 .html 结尾