Minimal configuration
B.R.
reallfqq-nginx at yahoo.fr
Sat Feb 15 11:29:00 UTC 2014
One could imagine a minimal server configured as such:
in */nginx/nginx.conf:
http {
#All default http stuff, like MIME type inclusion, etc.
include conf.d/*.conf
}
in */nginx/conf.d/default.conf
server {
listen 80;
index index.html index.htm;
try_files $uri $uri/ /;
}
However, unless I made some mistake, it seems that such a configuration
returns a HTTP 500 error (with a 'too much internal redirection' error).
Does nginx require any location block at all?
Or am I mistaken?
---
*B. R.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140215/2ffce8c6/attachment.html>
More information about the nginx
mailing list