Unable to login with proxypass

Geo P.C. pcgeopc at gmail.com
Wed Aug 1 10:20:36 UTC 2012


Dear Sir

 We need to proxy pass an url in which my.domain.com need to get
drupal.apps.server.com. We configured rewrite and is working fine.

Then we configured proxypass and while accessing my.domain.com we are
getting the contents but we are unable to login to application (Drupal
admin page). If you are accessing directly through
drupal.apps.server.comwe are able to login and access the admin page.

Please see our configuration :
  server {
 listen 80;
 server_name my.domain.com;
 location /{
 proxy_pass http://drupal.get apps.server.com/;
 proxy_set_header X-Forwarded-Host $host;
 proxy_set_header X-Forwarded-Server $host;
 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 }
 }

Can anyone please help us on it.

Thanks
Geo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120801/12fc1d09/attachment.html>


More information about the nginx mailing list