nginx 代理post請求變成get請求問題

最近項目中經過nginx轉發,解決請求跨域問題,配置以下:nginx location ~ ^/api/b.com/(.*) {後端     rewrite ^/api/b.com/(.*)$ /$1 break;api     proxy_pass http://b.com;跨域     proxy_redirect off;服務器      proxy_set_header Host b.co
相關文章
相關標籤/搜索