Welcome! Log In Create A New Profile

Advanced

Re: Question regarding Nginx Configuration

Reinis Rozitis
September 30, 2011 09:50PM
> Is it possible for location blocks to exist within the main http block at
> a higher level than the server block?

No, but if you have a lots of repeating configuration/locations in the
server blocks you can move those to a seperate file and then use include (
http://wiki.nginx.org/CoreModule#include ) instead.


rr

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

Question regarding Nginx Configuration

dougconran September 30, 2011 02:37PM

Re: Question regarding Nginx Configuration

Reinis Rozitis September 30, 2011 09:50PM

Re: Question regarding Nginx Configuration

dougconran October 01, 2011 08:07AM

Re: Question regarding Nginx Configuration

Igor Sysoev October 02, 2011 09:16AM

Re: Question regarding Nginx Configuration

dougconran October 03, 2011 09:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
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