Welcome! Log In Create A New Profile

Advanced

Re: location configuration?

coderman
December 12, 2013 09:38AM
On Thu, Dec 12, 2013 at 6:30 AM, Jeffrey Walton <noloader@gmail.com> wrote:
> I'm reading through the nginx architecture document at
> http://www.aosabook.org/en/nginx.html.
>...
> What is the location configuration, and why is it significant?

e.g.: (assuming some web root set)
....
# location configuration for directly serving files from directory
location /dist {
proxy_max_temp_file_size 1m;
autoindex off;
}
# default handler location configuration for passing to upstream proxy
location ^~ / {
proxy_pass http://upstreamproxy;
}
....


best regards,

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

location configuration?

Jeffrey Walton December 12, 2013 09:32AM

Re: location configuration?

coderman December 12, 2013 09:38AM

Re: location configuration?

Jeffrey Walton December 12, 2013 09:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 102
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready