amonapp / amon

Amon is a modern server monitoring platform.
https://docs.amon.cx
GNU Affero General Public License v3.0
1.33k stars 108 forks source link

Static files not found! #178

Closed RaminNietzsche closed 7 years ago

RaminNietzsche commented 7 years ago

I installed Amon and I can't access to "static files", I tried it on subdomain and IP but it didn't work!

<script src="/static/js/libs/libs.min.js"></script>

result:

Request Method: | GET http://xxx.zzzz.yyy:8000/static/images/favicon.png 'js/libs/libs.min.js' could not be found

martinrusev commented 7 years ago

@RaminNietzsche On port 8000, you can find only the Gunicorn server, which serves the Django app. For the static files, you need an nginx frontend: https://docs.amon.cx/onpremise/#proxying-with-nginx