Join GitHub today
How to serve statics ? #767
I tried to deploy Mastodon using Docker-compose, exposed via a Nginx container who act as a reverse-proxy. ( I mount mastodon/public as a volume in this container).
I use the same nginx.conf from the Production Wiki.
When I load my instance (in HTTPS with Let's encrypt), I got problems with statics (css/js) who give me few 404 errors.
My folder ../mastodon/public/assets is empty, is that normal ?
Thanks for your help.
Statics should be built using
I have the same kind of setup (except docker) and I just rsync the whole
After generate assets, the folder ./mastodon/public/assets is provided with assets (like application-3543534634....css) but when I load the homepage with this directive in my Nginx.conf (
For example :
And in the public folder, I got :
I don't understand where I go wrong.