Access trac by domain.tld/trac instead of domain.tld/

Jiff nginx-forum at
Thu Jul 7 20:02:28 MSD 2011


I use nginx + gunicorn (under Debian squeeze) to run trac.

It is working very well when I access it by http://domain.tld/; my
problem is I also have other servers, but only one domain (dyndns)
without (free) subdomains; so, I'd like to access trac as said in the

I found how to rewrite eg: domain.tld/wiki to domain.tld/trac/wiki, but
trac answers it is not one of its pages (not found).

How could I achieve what I want?


Posted at Nginx Forum:,212007,212007#msg-212007

More information about the nginx mailing list