If you mean a helloworld.py with just: print "Hello World" I don't of a way to 'serve it directly' you on need at least a minimal a waging app setup like the one shown here under The first WSGI application¶http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html maybe someone else knows of a way... in any case I hope this works for you. Sent from my BlackBerry 10 smartphone.
On Fri, 12 Apr 2013 17:06:01 +0100, Miguel Clara
<[email protected]> wrote: >nginx -V shows the version and configure options, since uWSGI is "built-in" >you won't see it in the configure options... but you can still disable it >using: --without-http_uwsgi_module and that would show in the configure >options (Reference: http://wiki.nginx.org/Modules). Thanks Miguel for the confirmation. 1. Now that I have Nginx upgrated to the latest stable version, I need to find how to configure Nginx and uWSGI to run the traditional "Hello, world!" in Python. So far, all the pages Google returned involve frameworks, but I'd rather start with a basic setup so that I know how things work under the hood. Would someone know of a HOWTO for this? 2. I'm not very clear about the difference between the uwsgi protocol and the WSGI spec: "To use your WSGI application with uWSGI protocol you will need a uWSGI server first. uWSGI is both a protocol and an application server; the application server can serve uWSGI, FastCGI, and HTTP protocols. The most popular uWSGI server is uwsgi, which we will use for this guide. Make sure to have it installed to follow along." http://flask.pocoo.org/docs/deploying/uwsgi/ Thank you. _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi | ||
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
