Nginx check header

一般來說保護 RESTful API 最簡單的方法就是把 api key 放在 https header 裡面,然後 ap 再檢查 header api key 是不是合法的。 但是,因為我們的 ap...