scue / gitalk-comments

0 stars 0 forks source link

Nginx配置——对一些路由进行IP访问限制 | Linkscue's blogs #90

Open scue opened 5 years ago

scue commented 5 years ago

https://linkscue.com/2018/08/18/2018-07-17-how-to-deny-access-for-some-routes/

现实中,你有总有一些路由是针对内部人员才开放的,比如重新加载配置、更新配置等操作。 本文将告诉你如何限制某一些路由仅限于内部的IP可以访问,而其他访问则是403 Forbidden。