Django links not working on live

Hello,

Locally all my static links work fine, but when I try to push my project to a live server it can’t find my static links.

On puTTy I tried running following command: python manage.py collecstatic

This is how I configure my STATIC_URLS in settings.py:

PROJECT_ROOT = os.path.dirname(abspath(__file__))

STATIC_URL = '/static/'
STATIC_ROOT = "/var/www/order.itspot.be/static/"

And this is how I link to it in my templates:

<link href="{% static 'm365/css/boxicons/css/boxicons.min.css' %}" rel="stylesheet">
<link href="{% static 'm365/css/bootstrap/css/bootstrap.min.css'%}" rel="stylesheet">

Why can’t it find my apps on the live build? If you need more information feel free to ask.

Are you running this behind nginx? (Or some other web server?)

What does your web server configuration look like for the /static/ url?

What does the url look like in your web page after it has been rendered?

What do your server logs look like for the request to one of those stylesheets?