Welcome! Log In Create A New Profile

Advanced

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

February 19, 2014 12:02PM
Hi BR,

www.whatismyip.com shows 115.1x8.3x.37 , Apache shows 115.1x8.3x.37

But nginx shows 210.55.x.x

Server Setup like follows

Nginx on Port 80 backend FastCGI Php

Apache on Port 8080

nginx conf

user www-data;
worker_processes 4;
worker_rlimit_nofile 204800;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;

events {
worker_connections 65535;
multi_accept on;
}

http {

#include /etc/nginx/mime.types;

access_log /var/log/nginx/access.log;
geoip_country /usr/share/GeoIP/GeoIP.dat;

sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
# server_tokens off;

# server_names_hash_bucket_size 64;
server_tokens off;

include /etc/nginx/mime.types;
default_type application/octet-stream;

##
# Logging Settings
##

access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;

##
# Gzip Settings
##

gzip on;
gzip_static on;
gzip_vary on;
gzip_comp_level 6;
gzip_proxied any;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js;
gzip_buffers 16 8k;

gzip_disable "MSIE [1-6]\.(?!.*SV1)";
##
# nginx-naxsi config
##
# Uncomment it if you installed nginx-naxsi
##

#include /etc/nginx/naxsi_core.rules;

##
# nginx-passenger config
##
# Uncomment it if you installed nginx-passenger
##

#passenger_root /usr;
#passenger_ruby /usr/bin/ruby;

##
# Virtual Host Configs
##

include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
Subject Author Posted

Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 09:36AM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

B.R. February 19, 2014 11:16AM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 12:02PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

B.R. February 19, 2014 01:16PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 01:22PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

Bozhidara Marinchovska February 19, 2014 11:42AM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 12:02PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

sivakr February 19, 2014 12:18PM

Re: Incorrect IP Address Deducted by Nginx version: nginx/1.2.1

Bozhidara Marinchovska February 19, 2014 05:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 136
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready