The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
2answers
118 views

How to install LuaJIT on FreeBSD without using Gmake?

Has anyone been able to install LuaJIT v2 on FreeBSD AMD64(x64) without using Gmake (just freebsd-make)? If so how? When I attempt to use freebsd-make, LuaJIT doesn't build.
3
votes
1answer
373 views

nginx lua: os.execute waitpid() failed (10: No child processes)

So, I'm trying to execute a script on every request. I know how that sounds, this is for development environment. I've added this to my nginx config access_by_lua_file "/opt/nginx/git-magic.lua"; ...
2
votes
1answer
99 views

Sending data to statsd does not work in some locations with content_by_lua_file

Before Until recently I used nginx 1.4.x with zebrafishlabs/nginx-statsd as a reverse proxy for openresty (yet, I know, nginx behind nginx - keep reading please) with the following location nginx ...
0
votes
1answer
64 views

Nginx using mysql result as variable to be used in headers more module

Without going into too much detail we have a requirement for the following: a) Query a simple single column, single row result from mysql. b) Use this variable as part of a more headers module, ...
0
votes
1answer
391 views

Unable to get prosody running on Ubuntu 10.04 (lua issues)

All this is performed on Ubuntu 10.04.4 LTS Server I installed LUA 5.1.4 following this procedure - http://ubuntuforums.org/showthread.php?t=1874860 I installed prosody following this command ...
1
vote
0answers
156 views

Large scale custom domain support for a hosted web service

I am running a hosted platform for publishing Markdown documents. Currently I offer a subdomain per user, but the number one request right now is custom domains. My server stack is NGINX and uWSGI ...
0
votes
0answers
30 views

Optimize performance of subs_filter or LUA gsub on Nginx for large streams

I need to make multiple substitutions on a page, served via Nginx. I know that standard sub_filter module doesn't work here, because is limited to a single substitution. So, I came up with two ...
0
votes
0answers
61 views

Can't figure out how to get started with powerdns-recursor lua scripting

I have a server (Ubuntu 12.04) where I run powerdns-recursor. I'm trying to add some logic to certain requests and have got my target set on lua scripting for powerdns. I don't seem to be able to ...
0
votes
0answers
100 views

Insert if upstream_cache_status

I have a piece of lua code that should be working only when response from upstream_cache_status is HIT, however I don't seem to be able to do this. I'm using nginx and a mongodb server here. I'm ...