Hi,
I'm trying to setup two projects on one server. Nginx is proxying to tracd.
It works with tracd serving a single project. The nginx config does this:
proxy_pass http://localhost:8000/
Next, I start tracd with two projects, so they are served from
http://localhost/a and http://localhost/b, instead of http://localhost. I'd
like to use hostnames to select the different projects, and keep the /a and
/b out of the URLs. Possible? I changed the nginx virtual host to add the
path:
proxy_pass http://localhost:8000/a
So now if go to https://a.trac.mydomain.com/, it serves the root trac page,
but all the links are broken. Can I tell it to write links like
href='/foo', not '/a/foo', so it plays well with the proxy_pass?
Or, is there a better way to work with multiple virtual hosts getting
directed to different projects?
thanks,
Rob
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.