nginx upstream module - delay in response for the 2nd request
I went through the EvanMillers Nginx tutorial, and wrote a simple nginx upstream module that does a GET from the backend redis server. The first request work perfectly fine, but for the second request...
View ArticleDefinition of $request_time
Hi,Can you someone please clarify the time that is being measured as part of $request_time?Documentation states the following:request processing time in seconds with a milliseconds resolution; time...
View Articlepath param and query param in nginx
I have an upstream nginx module with redis in the backend. The '/upstream/key/12345678' is the HTTP request which i need to process, i.e check if there is an entry for 12345678 in redis store and...
View ArticleStrange "generateServiceHostName" failure
Hi !I have a crosscompiled nginx (1.4.1) on a qnx system.Starting an instance with a selfmade nginx.conf results in this error :nginx: [emerg] ngx_http_mdns_pre_conf::generateServiceHostName failed in...
View ArticleMalware in /tmp/nginx_client
The software maldet, discovered some malware in the the /tmp/nginx_client directory, like this:{HEX}php.cmdshell.unclassed.357 : /tmp/nginx_client/0050030641{HEX}php.cmdshell.unclassed.357 :...
View Articlesetting cache proxy on aws ec2
HiI am trying to set a cache proxy to s3, and was following examples I have found on the web - I am retrieving the file but the cacheing is not being done. I have enabled debug but I am not sure what...
View ArticleRe: setting cache proxy on aws ec2
Hello,I am not pretty sure, it is a good idea to cache into s3 bucket. Even it is just a proxy cache.because the objective of cache in general thinking is to access the nearest resources with lowest...
View ArticleRe: setting cache proxy on aws ec2
Himaybe I got confused here, so let me try to explain what I am trying to do:user <-obj get-> ec2 <-obj get->s3this is the general flow in which user access objects stored on s3 through ec2...
View ArticleRe: Stable vs mainline?
>In NGINX nomenclature, “stable” means that no new features are added (the feature set is stable). Only major bugfixes >are committed to that version.>>We develop new features and all...
View ArticleWhy can't I use PHP with Nginx?
Hello!This is going to jump around a bit as I don't understand anything regarding how to set-up Nginx.The reason I wanted to run a local web server in the first place was to be able to run and use php...
View ArticleNginx oauth
Hi,I am trying to setup oauth proxy on nginx using this https://github.com/bitly/oauth2_proxy I don't seem to get it right please can someone help me?Thanks,
View Articleset_real_ip_from and scoping
I'm in the process of upgrading from an old 1.2 version of NGINX to 1.8. However, I'm having some issues with scoping rules and set_real_ip_from. Basically I have my global config in the http scope...
View ArticleFirewall seemingly being bypassed
I have nginx setup with the following parameters in order to place entries into a different log that come from my own ISP IP. I use some iptables -string drops, all that drop correctly except for one...
View ArticleRe: Firewall seemingly being bypassed
I see a drop on port 80 but a listen on 443.Otherwise do a traceroute to 119 to find out by which route its coming in.
View ArticleRe: Firewall seemingly being bypassed
Never thought about him coming in on 443. That is probably why iptables is missing the drop. He is getting into the special log because the port 443 is being hit through the first server 'listen 443...
View ArticleRe: Is it possible to register events with nginx's event loop?
melwin_jose Wrote:-------------------------------------------------------> I want a web server based on nginx, which receives a HTTP message,> parses it and checks in Redis for a given key's...
View ArticleNginx 1.9.3/1.9.2 with Openssl 1.0.2d Issue ngx_event_openssl.c:2945:...
We recently updated our openssl to 1.0.2d and tried to compile nginx 1.9.2 or 1.9.3 but we got he following error:-lpthread -lcrypt...
View ArticleRe: Firewall seemingly being bypassed
There still seems to be a problem. My iptables -string DROP entry is now:iptables -I INPUT 1 -p tcp -m multiport --dports 80,443 -m string --string "vtigercrm" --algo bm --to 300 -j DROPToday I found...
View ArticleRe: Firewall seemingly being bypassed
"Otherwise do a traceroute to find out by which route its coming in." which sounds like a route not covered by iptables.
View ArticleRe: Firewall seemingly being bypassed
I'm not real knowledgeable in this stuff. Here is a traceroute, but I can't tell anything from it. The firewall is searching for the -string vtigercrm. I thought that packets coming in with that in it...
View Article