Open scue opened 5 years ago
https://linkscue.com/2018/08/18/2018-07-17-how-to-deny-access-for-some-routes/
现实中,你有总有一些路由是针对内部人员才开放的,比如重新加载配置、更新配置等操作。 本文将告诉你如何限制某一些路由仅限于内部的IP可以访问,而其他访问则是403 Forbidden。
https://linkscue.com/2018/08/18/2018-07-17-how-to-deny-access-for-some-routes/
现实中,你有总有一些路由是针对内部人员才开放的,比如重新加载配置、更新配置等操作。 本文将告诉你如何限制某一些路由仅限于内部的IP可以访问,而其他访问则是403 Forbidden。