Need example of nginx.conf for Tomcat 6 (running Alfresco)

Ryan Malayter malayter at gmail.com
Wed May 5 16:43:34 MSD 2010


On Tue, May 4, 2010 at 11:46 PM, Stefan Scott <lists at ruby-forum.com> wrote:
> Hi -
>
> I have recently installed Alfresco on my server, using Tomcat (no
> Apache), and I'm able to access Alfresco as follows WITHOUT using nginx:

Try commenting out "proxy_redirect off;" which would leave you with
the implicit behavior "prxoy_redirect default;". We have tomcat-based
applications (not Alfresco) that use the full URL including host name
for generating redirects at login instead of relative redirects. So
you need to pass in the full host name (which you're doing correctly
with "proxy_set_header Host $host;"), but the back-end also does
redirects for setting cookies. Not sure if this applies to Alfresco,
but it is worth a try.

A tool like Fiddler might also help you see what's going on.

-- 
RPM



More information about the nginx mailing list