Re: sending POSTs to backend

2014-02-13 Thread michelem
For the archives, I finally used the solution I document here: http://forum.nginx.org/read.php?2,247532,247532#msg-247532 Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242944,247533#msg-247533 ___ nginx mailing list nginx@nginx.org http://ma

Serving static files statically with GET, everything else to backend

2014-02-13 Thread michelem
Hello folks, Maybe this will save some time to someone. I have a setup where I serve a web application as follows: * server A with nginx handles directly as much static content as possible * only requests for URLs requesting dynamic processing go to server B hosting the application server This

sending POSTs to backend

2013-09-18 Thread michelem
Hello folks, I use nginx in front of a django/fastcgi application, and we serve a subset of the URLs of this webapp statically. I use try_files to determine what's served statically and what goes to the backend. Some of these URLs, however, contain forms and are at the same time source and targe