Hi I am a newbie on nginx, I tried to set it up on my server(running Ubuntu 4), which already has apache running.
So after I apt-get install it, I trie
If you are experiencing this problem when using Docker be sure to map the correct port numbers. If you map port 81:80 when running docker (or through docker-compose.yml), your nginx must listen on port 80 not 81, because docker does the mapping already.
I spent quite some time on this issue myself, so hope it can be to some help for future googlers.