⬅︎ Back to Local Django development with Nginx
Dennis, proxy_pass is needed to actually, well, proxy the non-static request to django, so you will need it! Maybe the 502 comes because there is no index.html - but with the try_files directive this should not happen.
I had the same issue, until I realized I hadn't started my devserver. Doh!
Comment
Dennis, proxy_pass is needed to actually, well, proxy the non-static request to django, so you will need it! Maybe the 502 comes because there is no index.html - but with the try_files directive this should not happen.
Replies
I had the same issue, until I realized I hadn't started my devserver. Doh!