Unable to login with proxypass

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.


On 1 Ago 2012 12h20 CEST, [email protected] wrote:

Have you tried to use proxy_redirect?



proxy_redirect http://drupal.apps.server.com/ http://mydomain.com/;

What do the logs say?
— appa