> Question:
> if I don't have any like inside de
> location / {}
> how does nginx delivers an html file out of many possibly found in the root
> for the location?
There is generally no need to specify location / { .. } if you don't provide
any specific configuration or behavior for it.
Having just:
server {
root /some/path;
}
is enough to serve (static) files.
If there is a request to '/' by default nginx will try to look for
(index.html http://nginx.org/en/docs/http/ngx_http_index_module.html#index or
any other files in defined by that directive in given order.
rr
_______________________________________________
nginx mailing list
[email protected]
https://mailman.nginx.org/mailman/listinfo/nginx