$_SERVER['HTTP_X_REQUESTED_WITH'] allways empty on nginx php5-fpm server
I have installed a new webserver with nginx and php5-fpm on Debian. But somehow the $_SERVER['HTTP_X_REQUESTED_WITH'] keeps empty even if the request is comming from jquery or javascript. I tried all...
View ArticleLimit_conn not working
AfterHere is nginx info:nginx version: nginx/1.4.4built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)TLS SNI support enabledconfigure arguments: --user=nobody --group=nobody --prefix=/usr/local/nginx...
View Articlex-real-ip is set to wrong ip when using SSL...
I have Nginx server in front of a Tomcat server but I have a problem getting the real ip...If I don't use SSL, then the real ip is set in both x-forwarded-from and x-real-ip but when I use SSL, those...
View ArticleRe: x-real-ip is set to wrong ip when using SSL...
Are the configs (proxy_set_header) the same for both instances ?Are you loading a proxy.conf file after setting them manually ?
View Article20000 woker_connections not enough alert in log
Hi,i'm using nginx 1.6.0.lately i started getting a "20000 woker_connections not enough " alerts in my error.log .is it possible this problem occurs due to bugs that are fixed in version 1.6.2?Changes...
View ArticleNginx Logo
Hi, I just made alternative logos for my favorite web-server nginx. Maybe you like it? What do you think? Cheers, Lars
View ArticleRe: Nginx Logo
Seems as if the attached files don't work. Here are working links (hopefully):PDF: https://drive.google.com/file/d/0B-suWRuttqz6WFFpQy1RdWZYSEE/view?usp=sharingSVG:...
View ArticleRe: x-real-ip is set to wrong ip when using SSL...
Yes, the config are the same... I only commented out the ssl stuff from the config to check...Not sure what you mean by loading a proxy.conf file but I am not loading any other files containing proxy...
View ArticleRe: x-real-ip is set to wrong ip when using SSL...
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxyOther then that it might be a tomcat issue as tomcat also expects certain values for different external situations, have...
View ArticleRequest big JS file very slow if enable gzip on
I installed nginx-1.6.2-1.el6.ngx.x86_64 with yum on CentOS 6.5 system. below are my...
View Articleaccess_log if=$variable does not work on ip range
Hello,I have am a long time nginx user, yesterday I was in need to log actions taken by several IP's within a nginx cluster across multi sites.I thought to use the nginx 1.7.0+ access_log if=$variable...
View ArticleRe: access_log if=$variable does not work on ip range
What about this instead;~^(192.168.0.*)$ 1;
View ArticlePractical Code rewrite/replace/Inject Into Pages
Hi Guys,I'm currently working on this so i might have a solution in but i wanted to ask anyway.Scenario:Someone is hjacking your google rating by using hacked sites and remote website load.example...
View ArticleRe: Request big JS file very slow if enable gzip on
You can add to your nginx.confgzip_static on;gzip on;gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript...
View Articlesignificance of client_body_buffer_size as opposed to piping to upstream...
I am trying to understand the reason for buffering incoming request (client_body_buffer_size) in which nginx would either keep request in memory or write to file client_body_temp_path (based on request...
View ArticleServer Being Probed - How to Verify I'm Handling Right?
My web server has started to get probed pretty heavily with traversal attacks it looks like. I've been trying to read up on this and make sure it's working like it should, but I wanted to confirm that...
View ArticleRules
I am busy with configuring Nging reverse proxy. The goal I have is the following:If I get the following URL I have to block it:www.myserver.com/mypage.aspx?user=1But the following link is...
View ArticleRe: Rules
I am busy with configuring Nging reverse proxy. The goal I have is the following:If I get the following URL I have to block it:www.myserver.com/mypage.aspx?user=1But the following link is...
View Article502 erros on nginx
I am running apache-bench targeting a nginx LB which fetches objects from varnish cache.My ab comand is :ab -r -k -c 1500 -t 60 -n 10000000 http://abc.xyz.com/150kb.txtI am getting 502 errors (bad...
View Article