location configuration?
Jeffrey Walton
noloader at gmail.com
Thu Dec 12 14:43:59 UTC 2013
On Thu, Dec 12, 2013 at 9:36 AM, coderman <coderman at gmail.com> wrote:
> 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;
> }
> ...
Thanks. For some reason, I was thinking along the lines of IP
addresses and geolocation.
More information about the nginx
mailing list