Hello,
I would like to propose a simple feature request. The ability to use subfolders in the upstream module.
Rational:
1) I want to utilize several cheap and/or free FTP hosting sites.
2) Be able to load balance all of them using the same content across multiple hosts, even if in a shared hosting environment.
This should work like so:
-------------------------------------
http {
upstream myapp1 {
server srv1.example.com/path/to/user/dir/;
server srv2.example.com/path/to/another/user/dir/;
server srv3.example.com;
}
server {
listen 80;
location / {
proxy_pass http://myapp1;
}
}
}
------------------------
Currently srv1 and srv2 are not possible because having a path in the upstream module is invalid. If this were possible it opens up many affordable possibilities for load balancing.
Thanks for the consideration.