Hi All,

I just setup dspace for the first time. We're wanting to use the jspui
interface. I setup nginx as a reverse proxy in front of tomcat, but it
seems that the authentication is not sticking. What I mean by that is I can
authenticate a user, and the page does show that I am logged in ( and I
have access to certain restricted pages). But the user will lose its
session after a couple of minutes or on certain pages.

This is not happening if I access tomcat directly at port 8080, so I think
there's something I'm missing on my nginx conf. ( included below ).

Any ideas? Thanks for the help...b,chris,

 location / {
        proxy_pass  http://dspace;
        proxy_next_upstream error timeout invalid_header http_500 http_502
http_503 http_504;
        proxy_redirect http://dspace http://dlib.wmu.se;

        proxy_buffering off;
        proxy_store     off;

            proxy_connect_timeout 120;
        proxy_send_timeout    120;
        proxy_read_timeout    120;

        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;
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to