标签:col ret html cache -o live nbsp get proxy
location / { add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Methods ‘GET, POST, OPTIONS‘; add_header Access-Control-Allow-Headers ‘DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization‘; if ($request_method = ‘OPTIONS‘) { return 204; } proxy_pass http://localhost:60877/; root html; index index.html index.htm; }
标签:col ret html cache -o live nbsp get proxy
原文地址:https://www.cnblogs.com/jasonbourne3/p/11870726.html