• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Real ip issue with nginx

J

JafferyR

Guest
Hi

I have plesk 10, issue is that I installed nginx on it, its working fine, I set apache to listen on port 8080 and set nginx to 80

I then changed port for plesk using :
http://download1.parallels.com/Ples...nistration-guide/index.htm?fileName=68800.htm

Now issue is that if I use default config :
Code:
server {
  listen      80;
  server_name domainname.com www.domainname.com ;
  error_log /var/www/vhosts/newcastle-online.org/statistics/logs/error_log.nginx warn;

  location / {
    proxy_pass  http://domainame.com:8080$request_uri;
    include  /etc/nginx/proxy.conf;
  }

  location ~* ^.+\.(jpg|jpeg|gif|png|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js|ico|swf)$ {
    root  /var/www/vhosts/newcastle-online.org/httpdocs;
    expires 7d;
  }
 }
This won't work as its unable to resolve domainname.com (found through nginx logs) , I changed IP to website IP ie. xxx.xxx.xxx.xxx and now things are working.

but application are seeing xxx.xxx.xxx.xxx as client ip.
I installed mod_rpaf and can see it working using
Code:
httpd -M

However, still clients application is seeing proxy Ip as visitors IP.

So, what should be setup that mod_rpaf give real ip to software running ..

Basically I need to know why its not able resolve name of host ie nginx ?
 
Back
Top