这是我对nginx服务器的设置
location /v1/submit{
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
#try_files $uri $uri/ =404;
proxy_ssl_server_name on;
proxy_pass http://202.3.208.203:55000/cp/submitSM.jsp;
proxy_connect_timeout 159s;
proxy_send_timeout 600;
proxy_read_timeout 600;
proxy_buffer_size 64k;
proxy_buffers 16 32k;
}
从nginx调用API时,我收到错误
[错误] 6139#6139:* 11778767 connect()失败(111:连接 连接到上游时,客户端:52.221.202.103,服务器: _,请求:" POST / v1 / submit