[Geoserver-users] Configuring geonode with geoserver behind nginx: auth issues

Hi all

I'm trying to configure nginx proxying geonode and geoserver.
However tomcat is logging authentication errors.

My nginx configuration looks like this:

"""
pid /home/user/webapps/geonode2_nginx/parts/nginx-geonode/nginx-geonode.pid;
lock_file /home/user/webapps/geonode2_nginx/parts/nginx-geonode/nginx-geonode.lock;
daemon off;
events {
    worker_connections 1024;
}
http {
    server {
        listen 19861;
        access_log /home/user/logs/user/access_geonode2_nginx.log;
        error_log /home/user/logs/user/error_geonode2_nginx.log;
        # serve staticfiles
        location /static/ {
            include
/home/user/webapps/geonode2_nginx/parts/nginx/conf/mime.types;
            alias /home/user/webapps/geonode2_static/;
            expires 7d;
        }
        # serve mediafiles, default 'uploaded' in GeoNode
        location /uploaded/ {
            alias /home/user/webapps/geonode2_upload/;
            expires 7d;
        }
        # geoserver proxy
        location /geoserver/ {
            proxy_pass http://127.0.0.1:30975/geoserver/;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $http_host;
        }
        # uwsgi wsgi proxy to geonode (i.e. django)
        location / {
            proxy_pass_header Server;
            proxy_set_header Host $http_host;
            proxy_redirect off;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Scheme $scheme;
            proxy_connect_timeout 20;
            proxy_read_timeout 20;
            proxy_pass http://127.0.0.1:11150/;
        }
    }
}
"""

Tomcat is logging as follows:

2014-05-10 07:47:27,100 WARN [geonode.security] - Error connecting to
the GeoNode server for authentication purposes
org.springframework.security.authentication.AuthenticationServiceException:
Communication with GeoNode failed
        at org.geonode.security.GeoNodeAuthenticationProvider.authenticate(GeoNodeAuthenticationProvider.java:67)
[...]
Caused by: java.io.IOException: GeoNode communication failed, status
report is: 404, Not Found
        at org.geonode.security.HTTPClient.sendGET(HTTPClient.java:73)
        at org.geonode.security.DefaultSecurityClient.authenticate(DefaultSecurityClient.java:152)

Has anyone here encountered this?

--
jean . .. .... //\\\oo///\\