Every time I went to a non-existent URL, it would redirect me to the home page. I couldn't see my 404 page unless I went to /404 directly! Thankfully, I was able to find a solution after tinkering with Docker and Nginx. If you're in this situation, then this solution might be for you.