补充:
代理对文件大小的限制,
server {
client_max_body_size 100M;
listen 9096;
server_name gate.chaohuoyy.com;
location / {
proxy_pass http://127.0.0.1/data/index.html;
}
location /svn {
proxy_pass http://192.168.1.95:8080/svn;
}
}
[root@izm5ehhtn7tzwk2lvy85nlz ~]# cat /etc/nginx/servers/iproxy.svn.conf
server {
listen 9095;
server_name ifire.com;
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;
}
}