Serving Dynamic js files

Qaiser Wali lists at ruby-forum.com
Sat Jul 11 10:03:58 MSD 2009


I have a controller named javascripts and in my view i have few .js.erb
files.

on my local machine, i can include the .js as a regular script file and
it works fine. on my production machine i am not sure how to configure
nginx that it can recognize both the folders public/javascripts and
apps/views/javascripts and serve javascripts from both these places.

someone help please.
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list