I try to launch gunicorn from directory /opt/netbox/netbox : gunicorn netbox.wsgi -b
127.0.0.1:8001
It's nearly working.
I can access the webserver but i don't have CSS.
So i go in apache2 log and i see :
[Mon Jul 24 17:14:23.973137 2017] [authz_core:error] [pid 1996:tid 140031326889728] [client
172.22.1.198:59162] AH01630: client denied by server configuration: /opt/netbox/netbox/static, referer:
http://172.22.0.104/
i go to /opt/netbox/netbox
i don't have any static directory i have a project-static, i copy project-static to static.
Now i have netbox running.
But when i try
sudo gunicorn -c /opt/netbox/gunicorn_config.py netbox.wsgi
it's not working.