> On Thu, 21 Nov 2013 14:42:19 +0100, Riccardo Magliocchetti > <[email protected]> >> > Thanks Roberto. It looks like Nginx is recent enough, so I'll read up >>> on how to compile and install uWSGI myself. >> >>You can also try to rebuild sid packages > > Thanks. I don't know what sid packages are. > > I have a couple more questions: > > 1. Is there a way to make sure the current Nginx was compiled with > uWSGI? It looks like it's available: > > # nginx -V > nginx version: nginx/1.2.1 > TLS SNI support enabled > configure arguments: --prefix=/etc/nginx > --conf-path=/etc/nginx/nginx.conf > --error-log-path=/var/log/nginx/error.log > --http-client-body-temp-path=/var/lib/nginx/body > --http-fastcgi-temp-path=/var/lib/nginx/fastcgi > --http-log-path=/var/log/nginx/access.log > --http-proxy-temp-path=/var/lib/nginx/proxy > --http-scgi-temp-path=/var/lib/nginx/scgi > --http-uwsgi-temp-path=/var/lib/nginx/uwsgi > --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid > --with-pcre-jit --with-debug --with-http_addition_module > --with-http_dav_module --with-http_geoip_module > --with-http_gzip_static_module --with-http_image_filter_module > --with-http_realip_module --with-http_stub_status_module > --with-http_ssl_module --with-http_sub_module --with-http_xslt_module > --with-ipv6 --with-sha1=/usr/include/openssl > --with-md5=/usr/include/openssl --with-mail --with-mail_ssl_module > --add-module=/build/nginx-fgtmfA/nginx-1.2.1/debian/modules/nginx-auth-pam > --add-module=/build/nginx-fgtmfA/nginx-1.2.1/debian/modules/nginx-echo > --add-module=/build/nginx-fgtmfA/nginx-1.2.1/debian/modules/nginx-upstream-fair > --add-module=/build/nginx-fgtmfA/nginx-1.2.1/debian/modules/nginx-dav-ext-module >
yes, it looks like it is available (btw it is compiled in by default when you run ./configure) > 2. Is it a good idea to use uWSGI to run Lua scripts, since the site > says: "Stable (60% uwsgi api support)" > http://projects.unbit.it/uwsgi/ after perl it is the most "old" plugin, so yes, it is "safe" (even if i have to admit there are very few production-ready application server for lua, so even if the uWSGI plugins is not complete it is generally more than what you will find out there) In 2.0 it has been improved with websockets support too and better async mode: http://uwsgi-docs.readthedocs.org/en/latest/Lua.html -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
