Never mind. If someone runs into the same problem, here is the solution: Make sure your hgweb.config has the following section: [web] baseurl = $path_info and Nginx had nothing to do with it. -- Posted via http://www.ruby-forum.com/.