Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

How to serve static in Rails?

$
0
0
It's typical for Ruby on Rails application to store it's static resources in /public/images , /public/stylesheets, /public/javascript subirs. But all of them have the same beginning of URI: /assets/1.jpg /assets/1.css /assets/1.js.

How can I configure Nginx to properly serve such resources?

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>