i want publish some web2py aap. under Ngnix, through fast-cgi
- by realy different web2py instance
- by some proxy for statix file publish
such as:
server {
listen 8080;
location ^~ /my/static/ {
alias "/data0/matrix/static/";
}
location /staff {
fastcgi_pass /var/log/fcgi-0-.sock;
fastcgi_param PATH/TO/web2py/fcgihandler.py;
...
}
}
server {
listen 9090;
location ^~ /my/static/ {
alias "/data1/matrix/static/";
}
location /staff {
fastcgi_pass /var/log/fcgi-1-.sock;
fastcgi_param PATH/TO/web4py/fcgihandler.py;
...
}
}
somebody done like these?
some suggest?
i try and try ,can not running.... ;-(
--
http://zoomquiet.org 人生苦短,Pythonic!-)
金山常年招聘Py/C++人才! http://bit.ly/UoTV 简历直投俺就成;-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---