Phillip - thanks for confirming, and for the great tip on using uWSGI in development with paste ini files.
I can't find any documentation on the --html option or --H option (although I can see what they do) - do you have a reference where you found this information? Doesn't seem to be here: http://readthedocs.org/docs/uwsgi/en/latest/options.html#config-command-line > uwsgi --http 127.0.0.1:8080 -H PATH_TO_VIRTUALENV --touch-reload > PATH_TO_SOURCE_DIR --ini-paste development.ini In fact, prompted by searching for the above options, I only just found the uWSGI documentation since it isn't linked from the Wiki nor does it show up in google for 'uwsgi documentation'. Here it is for anyone else looking: http://readthedocs.org/docs/uwsgi/en/latest/index.html which led me to the documentation for Nginx: http://readthedocs.org/docs/uwsgi/en/latest/run-behind/nginx.html These options look really helpful, and I wasn't aware this was possible. touch-reload gracefully reload the uWSGI stack when a file/directory changes. ini-paste shortcut for --ini + --paste, after file parsing it will use the same file as paste.deploy config file On 13 Dec 2011, at 11:45, Philipp Dubrov wrote: > > > On Dec 12, 1:40 pm, Simon Yarde <[email protected]> wrote: >> Thanks for the info. It's starting to become clear(er)! >> >> I've been perplexed by the multitude of ways you can configure a >> server/wsgi, and to be honest I think I'm still struggling conceptually. >> >> Is the following anywhere near correct? >> >> So far as understand, the benefit of using Nginx (or similar) is that you >> can: >> >> - route requests to any number of webapps in any number of languages (more >> of a software ecosystem) >> - serve static files without the overhead of having the webapp process and >> form the responses and pipe the data >> - you could use a caching mechanism to speed up repeat requests >> >> but you still need a wsgi server between nginx and the webapp. >> > Correct. > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" 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/pylons-discuss?hl=en. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
