Getting 502 Bad Gateway error on nginx proxy manager with gunicorn #3504
talhaanwarch
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently using nginx proxy manager in conjunction with Gunicorn:
Everything functions properly when I select HTTP, as shown in the image. However, the only drawback is that static files are not loading because they cannot be located, resulting in a "Not Found: /static/" error.
Upon switching to HTTPS, a 502 gateway error is encountered. The following error is logged:
When running the application via
with the scheme set to HTTP, everything works as expected, and static images are loaded. However, I prefer to use Gunicorn.
here are my docker-compose files.
Django docker-compose file
Nginx-proxy-manager docker-compose file
Screenshot of nginx-proxy-manager
Beta Was this translation helpful? Give feedback.
All reactions