It took a long time to reach the info below.. I think it could have documented better in official page of the module.. #nginx.conf set $variable_name "xxxx"; #perl my $value = $r->variable('variable_name');by David999 - How to...
Hi, I need to block requests that are made in a specific time range as long as it's not an exclusion like in the pseudo code below. I know that perl module is not allowed to be called inside "if" block and there is no possibility to pass arguments to perl block from location or vice versa. Any help would be appreciated.. location { .. if (true){ set $block_request 1by David999 - How to...
Hi, I need to block requests that are made in a specific time range as long as it's not an exclusion like in the pseudo code below. I know that perl moduele is not allowed to be called inside "if" block and there is no possibility to pass arguments to perl block from location or vice versa. Any help would be appreciated.. location { .. if (true){ set $block_request 1by David999 - How to...
Hi, I need a custom logging module that logs GET requests returned 200 response according to a few predefined rules. Summarised example scenario : On a Nginx reverse proxy application serving following dat files, users A and B randomly starts downloading the files. Suddenly B stops and after some time C starts to download. When all the users disconnected, I need to know the exact numberby David999 - Requests for Paid Services
Hi, Is it possible to identfy distinct users behind NAT/Proxy systems? I need to log number of downloaded files by NAT users. However, Users have cloned systems so they have same ip and user-agent information therefore I cannot count nr of donwloaded files per user when they make request for the same file. Best regardsby David999 - How to...
You can try Arut's nginx-rtmp-module.. At the moment, you cannot fully replace Wowza Stream Engine with Nginx due to advanced future of WSE such as restapi, server api, and etc. Actually, It's up to what you want to do with Nginx..by David999 - How to...
Haven't thought that multiple map supported.. It worked! thanks.by David999 - How to...
Hi, Can I specify countries to be blocked in location context? For example, I want one of my location definitions accessible from denmark but want to restrict other locations to Denmark & China or I want to grant access to a different country for each locations. As far as I know, I can only set countries in http context and it inherits to all locations with ngx_http_geoip_module.by David999 - How to...