Search code examples
ruby-on-railsapacheruby-on-rails-4nginxassets

ngnix not serving assets of my rails application


I'm running a rails app in prodction with nginx an apache2.

The application starts properly, but the assets were not served by nginx. The Assets are under public/assets available.

But nginx says 404 Not Found.

any ideas how to solve this issue?

its a debian server with plesk17

Apache config looks like this: enter image description here


Solution

  • restarting server and resassign ssl certificate solves my problem