Closed ghoomfrog closed 4 years ago
there is no convention. You can put them in a folder of your choosing, then set up a location with nginx that points to that directory
@leafo I have put a stylesheet inside public/
and did this:
location / {
alias public/;
...
}
But the stylesheet hasn't been recognized.
Here's how I do it on streak.club if that helps: https://github.com/leafo/streak.club/blob/master/nginx.conf#L69
location /static/ {
alias static/;
access_log off;
gzip on;
gzip_types application/x-javascript text/css;
}
then you would access a url like: http://streak.club/static/manifest.json
@leafo Something's really wrong with my app.
Like stylesheets for example.