I want to serve a robots.txt file from my django app (spt-tools). My settings.py file has:
STATIC_ROOT = f'{WWW_DIR}/static/'
so when I run "manage.py collectstatic", robots.txt ends up in $HOME/www/static/robots.txt. It needs to be one directory level up from there. I can think of several ways to fix this, but most of them involve adding additional steps to my install process, which I'd rather not have to do.
I'm curious how other people have approached this.
_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information: https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/