Nginx解決跨域問題(CORS)

0x0前言 CORS(Cross-Origin Resource Sharing) 跨域資源共享,是一種容許當前域(domain)的資源(好比html/js/web service)被其餘域(domain)的腳本請求訪問的機制,一般因爲同域安全策略(the same-origin security policy)瀏覽器會禁止這種跨域請求。 如:a.com 請求b.com的資源時,就涉及到了跨域。目
相關文章
相關標籤/搜索