Hi Ken, I’ve done all the work according to the documentation more or less and I’ve run into this as well. It’s very frustrating for me as the admin panel was meant to be an integral part of the project.
I’m running django with gunicorn, I’m running an nginx web server, and I’m running a postgres db server. Collectstatic has been done. Files are moved. Everything is accessible.
If nothing is listening to 443, then your requests for files on https are never going to work - and it has nothing to do with your Django / gunicorn configuration. (Look at the browser console log images you posted - the requests for those files are to “https” - which implies something thinks something is listening on 443.)
Also, your server directive above is configured to listen on port 9999
and I don’t see that referenced anywhere in these requests.
Also, you’ve got gunicorn configured to listen on port 8000 (which I can’t quote because you posted it as an image), and I don’t see anything in this configuration that will forward a request to 8000, so I don’t know how the requests are getting through nginx to gunicorn.
So no, this is not the complete information - there’s a lot going on that you haven’t posted or provided information for.
(That you are not getting any information in those nginx log files is just further confirmation that this isn’t the correct information being shown.)
This server is a VM on an unraid rack. It’s sitting behind an NPM reverse proxy. Requests from domain files.addohm.net:80 http requests get forwarded as port 9999. Requests from domain dcdc.addohm.net:80 http requests get forwarded as port 8000 as well.
Maybe I should run it back a bit and remove all https request possibilities for now, but that still wouldn’t fix the problem as you can see in my reluctantly posted screenshot above, and earlier images shows that the images outside of the admin panel are accessible by django, http or https.
I don’t think its “incorrect” information so much as a lack of information. I’m doing my best to give you what you ask for. I don’t yet know why the logs aren’t filling with entries.
I run an almost identical setup, sans django at cdc.addohm.net albeit a much older version as that was a mockup prototype.