The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
32 views

Squid3 URLrewrite - Unable to configure

I have Squid3-3.4.8 on Debian Wheezy. It is performing caching duty. I just want to replace one jpg url to another URL in my local server or outside. I have tried solutions like Volta, squidred, ...
0
votes
0answers
12 views

how to get detailed error information from uwsgi

I have uwsgi running under nginx and interacting with RabbitMQ, MySQL and Redis and running lua code to that interacts with these services. in my uwsgi configuration I do log the following: log-...
-2
votes
3answers
160 views

PowerDNS: Is it possible to send different results based on server IP used by the client?

I would like to setup a recursive DNS server with multiple IPs all on the same PowerDNS server. Let's say: 8.8.8.1 8.8.8.2 8.8.8.3 8.8.8.4 I was wondering how I could send different responses ...
0
votes
0answers
73 views

how to set TOS of HAProxy outgoing tcp connections

I'm using HAProxy TCP mode. and want to set TOS of outgoing tcp connections for policy routing. seems lua function TNX.set_tos could to it, but i don't know how to call this function. http://www....
1
vote
0answers
65 views

Lua flavored Nginx rewrite or internal redirection cycle

I'm new both to nginx and lua. I'm trying to follow this tutorial http://leafo.net/posts/creating_an_image_server.html#installation_requirements but for the life of me I can't get the nginx.conf right....
1
vote
1answer
31 views

Fixing syntax errors in lighttpd.conf?

lighttpd newbie here... We're trying to set up lighttpd to host a local django app, kiosk-style. We intend to use wsgi for this, but we're having trouble figuring out the syntax for lighttpd's config ...
1
vote
0answers
76 views

how to configure http request pipeling using wrk?

I am trying to load test nodejs helloworld, which is running on system 1 at http://10.20.10.10:5000 and I want to pipeline http requests from system 2. wrk takes a script as a parameter. I am ...
3
votes
1answer
513 views

Nginx - Empty response in error page with proxy_pass

Task: nginx config for reverse proxy to docker containers with dynamic lookup and caching. Process workflow: check cache. if upstream found — proxy if not found — request it, cache and proxy if ...
1
vote
1answer
2k views

Nginx how to run shell script on page load via lua module os execute and then serve directory listing?

So I have a bash script that I want to execute/run on each "page load" of url so that it will modify (creating symlinks) to a /public/html/ folder that I want the server to then serve. The problem ...
0
votes
1answer
153 views

High %sys utilization in Nginx cache node

We set up Nginx with Lua (openresty bundle) to be a local caching node to our file sharing server, we seperated files to chunks "50MB each" (by this method) and store them in cache to increase its ...
-2
votes
1answer
136 views

How do you “prevent powerful accounts from being used on unauthorized systems”? [closed]

I was browsing through Microsoft's Best Practices for Securing Active Directory and saw the chart linked which includes some of the best practices included in the document, rated by importance. At ...
1
vote
1answer
703 views

Nginx proxy_pass based on file extension and query string

I need to proxy_pass static assets (.js .css) based on file extension and query strings. For example: domain.com/foo.css - go to upstream1 domain.com/foo.css?V=1234 - go to upstream2 Reason is I ...
0
votes
1answer
170 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 argument/usr/src/...
5
votes
2answers
326 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
1answer
514 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
710 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 (yes, I know, nginx behind nginx is stupid - keep reading please) with the following location ...
0
votes
1answer
167 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
288 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
2k 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
682 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/ \ --sbin-...
6
votes
1answer
1k 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
1k 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 ...
1
vote
1answer
2k 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
773 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
147 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
vote
0answers
203 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
208 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
886 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 ...