The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
28 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
1answer
58 views

how to install lafilefixer in ubuntu

I am getting following error while installing freeswitch on Ubuntu. libtool: link: cannot find the library /usr/src/freeswitch/libs/apr-util/xml/expat/lib/libexpat.la' or unhandled ...
2
votes
1answer
51 views

Installing additional LUA modules into Redis

I'm trying to get Redis to allow EVAL (http://redis.io/commands/EVAL) to make HTTP requests. Two modules: LuaCURL and Luasocket give this ability. The Redis source code has a directory with ...
0
votes
0answers
60 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 ...
2
votes
1answer
98 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
0answers
99 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 ...
0
votes
1answer
81 views

Running WSAPI on ngninx via FastCGI

Using Lua 5.2 with wsapi 1.6-1 and wsapi-fcgi 1.6-1 installed via luarocks, I have the following nginx configuration: server { listen 127.0.0.1:8080; server_name localhost; location / { ...
2
votes
2answers
1k views

How to improve call quality freeswitch?

Currently I have a system that makes use of FreeSWITCH for outbound calls via SIP External with flowroute and works well, but some users complain about the quality of the call. The system is running ...
0
votes
1answer
262 views

Nginx: unknown directive “ngx.flush(true)”

I'm having some trouble by using the nginx devel (ndk) and lua-module. I compiled nginx-rpm using the following configuration: ./configure \ --prefix=%{_sysconfdir}/nginx/ \ ...
3
votes
1answer
371 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"; ...
3
votes
2answers
744 views

Nginx & Lua: Hacks, optimizations & observations

Following this post on using Lua to increase nginx’s flexibility and in reducing load on the web stack I am curious to know how people are using Lua to enhance nginx’s capability. Are there any ...
0
votes
1answer
823 views

Nginx (openresty) generating random numbers

I have openresty set up on a server (nginx bundle which includes the lua module) and I'm trying to create a script which has specific odds of setting a cookie on a user's browser. My code looks like ...
0
votes
1answer
388 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 ...
0
votes
1answer
112 views

How to install Gamooga server on centOS?

I'm trying to run Gamooga server on my centOS box, but unfortunately there are some required packages which is not available for centOS (at least I couldn't find them). The required packages are ...
-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.
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
2answers
202 views

Mark MSI to be installed on Windows Server 2003 as non administrator

Guys, girls, I'm a developer so forgive my naivete on system fronts, I've come for the guru's who know better than I on these issues. I am trying to be a corporate citizen and not run my services on ...
0
votes
2answers
657 views

imapfilter: how to capture part of the subject in a variable

I get some mails arriving (on an IMAP server) with subject like: [1270503] apple [1272481] bottle [172481] wine [43172481] grapes I need these letters to be moved in INBOX.CSR.number where number ...