GET /css/phoenix.css Not Found

Hi, why don’t css styles and images load in phoenix app inside nginx server?

What have you tried so far to troubleshoot? Things could have gone wrong in a few places. Have you tried:

  1. Connecting directly to Phoenix without nginx?
  2. Checking the css file is getting built in your Phoenix app?
  3. Checking that other static assets (eg javascript) are getting served?
  4. Checking nginx config to make sure css file serving is configured?
1 Like

I’ll check the nginx configuration, tnks!!!

Thank you very much, you were right in the last option:

  1. Checking nginx config to make sure css file serving is configured?

Btw, the other options also failed me, so thanks for all.

1 Like