17 Dec
2010
17 Dec
'10
11:12 a.m.
hi,
Wow! Maybe I was a bit too verbose, I'll try to condense in two simple questions: much better...;)
1. is it possible to set up uri_for to play well in a reverse-proxy environment? in case your app runs with plack, you may have a look at http://search.cpan.org/~danjou/Plack-Middleware-ReverseProxy-0.06/. if I recall correctly, a redirect issue we had could be fixed with this plugin. it could work for uri_for too.
2. what is the best approach to handle static content in a reverse-proxy environment, i.e. having the reverse-proxy handle it directly? In our low-traffic setup Dancer delivers static content (deployment was much easier).
cheers