Welcome! Log In Create A New Profile

Advanced

Re: Minimal configuration

Francis Daly
February 15, 2014 04:56PM
On Sat, Feb 15, 2014 at 12:29:00PM +0100, B.R. wrote:
> One could imagine a minimal server configured as such:

If you want the minimal config, start with an empty file and see what
you need to add to get it to work.

I suspect that

===
events{}
http{ server{} }
===

will probably work usefully.

> 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).

What request did you make? What response did you expect? What did the
error log say? What did the debug log say?

> Does nginx require any location block at all?

No.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Minimal configuration

B.R. February 15, 2014 06:32AM

Re: Minimal configuration

Francis Daly February 15, 2014 04:56PM

Re: Minimal configuration

B.R. February 16, 2014 02:46PM

Re: Minimal configuration

Francis Daly February 16, 2014 04:40PM

Re: Minimal configuration

B.R. February 16, 2014 05:02PM

Re: Minimal configuration

Francis Daly February 16, 2014 05:26PM

Re: Minimal configuration

B.R. February 16, 2014 06:44PM

Re: Minimal configuration

Francis Daly February 17, 2014 03:44AM

Re: Minimal configuration

B.R. February 17, 2014 08:16AM

Re: Minimal configuration

Francis Daly February 17, 2014 03:38PM

Re: Minimal configuration

B.R. February 17, 2014 05:18PM

Re: Minimal configuration

Francis Daly February 20, 2014 04:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 248
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready