location configuration?
coderman
coderman at gmail.com
Thu Dec 12 14:36:46 UTC 2013
On Thu, Dec 12, 2013 at 6:30 AM, Jeffrey Walton <noloader at 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,
More information about the nginx
mailing list