9

nignx Access-Control-Allow-Origin 指定某个域

 3 years ago
source link: https://www.oschina.net/question/3644756_2322572
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

nignx Access-Control-Allow-Origin 指定某个域

jackfaye 发布于 昨天 16:05

Access-Control-Allow-Origin  指定域某个具体的域,网上没搜到例子,求一个例子,网上搜到的都是:

add_header Access-Control-Allow-Origin *   这个是多个域的配置,我需要的是具体一个域的例子


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK