補充:html
代理對文件大小的限制,nginx
server {
client_max_body_size 100M;
listen 9096;
server_name gate.chaohuoyy.com;svn
location / {
proxy_pass http://127.0.0.1/data/index.html;
}spa
location /svn {
proxy_pass http://192.168.1.95:8080/svn;
}代理
}server
[root@izm5ehhtn7tzwk2lvy85nlz ~]# cat /etc/nginx/servers/iproxy.svn.confhtm
server {ip
listen 9095;it
server_name ifire.com;io
location /47 {
proxy_pass http://127.0.0.1/data/index.html;
}
location /57 {
proxy_pass http://127.0.0.1:8000/data/index.html;
}
location / {
proxy_pass http://127.0.0.1:9095;
}
location /svn {
proxy_pass http://127.0.0.1:9095/svn;
}
}