duplicate location “/” – nginx

Ironically, it's the small things that get me puzzled and this one is driving me a little nuts. lol
I changed the site from /forums/ to simple / and you would think it would be as simple as removing that "forums" entry from the config. It after all seems straight forward and is exactly how it would be done on apache, but obviously, nginx is of another nature.
The original config

PHP:

 

server {

      listen 80; # listen for IPv4

     listen [::]:80; # listen for IPv6

       server_name…

duplicate location "/" – nginx

See original post by TheVisitors

Leave a Reply