server {
listen 80;
server_name localhost;
location /cp/service {
proxy_pass http://127.0.0.1:8080/service;
client_max_body_size 200M; #需要强制限制客户端传输大小 不然会造成时好时坏的现象
}
}
server {
listen 80;
server_name localhost;
location /cp/service {
proxy_pass http://127.0.0.1:8080/service;
client_max_body_size 200M; #需要强制限制客户端传输大小 不然会造成时好时坏的现象
}
}