Why Nginx location /dir/ does not work for /dir/ itself, but works for any /dir/file?

前端 未结 0 874
执念已碎
执念已碎 2020-12-22 06:10

Please, explain me why this part in NGINX

location /a/b/ {
  return 429;  #error for debug  
}

works only for URLs like https://example

相关标签:
回答
  • 消灭零回复
提交回复
热议问题