Have you checked your configuration has been loaded properly?
Most probably, either:
- your configuration is not loaded: check it with the -t nginx option, then
check your error log on reload to spot any message there
- your configuration file is not used, the default one is (you might ensure
you overwrote the right file or use the -c nginx option to specify your
configuration file). If you are using nginx >=1.9.2, you might wanna check
the new -T option so the loaded configuration is dumped on standard output
---
*B. R.*
On Mon, Mar 21, 2016 at 6:52 PM, zharvey <nginx-forum@forum.nginx.org>
wrote:
> As a followup to the original question, what I'm really looking for is for
> my homepage (index.html) to be served when you go to
> http://mynginx.example.com, *not* the nginx default page.
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read.php?2,265548,265549#msg-265549
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx