On Mon, Jan 24, 2011 at 6:22 AM, Chris McDonough <chr...@plope.com> wrote: > Have nginx pass through the Host header to Pyramid. The right URLs will > be generated.
Chris, Shouldn't Pyramid be able to generate paths, as opposed to URLs, for static resources? Fowarding the Host header doesn't sound like a good solution, as you'll run into issues if you have (Apache) virtual hosts on the backend server. Thanks, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com http://www.camptocamp.com -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.