Jeffrey Walton
December 12, 2013 09:46AM
On Thu, Dec 12, 2013 at 9:36 AM, coderman <coderman@gmail.com> wrote:
> 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;
> }
> ...
Thanks. For some reason, I was thinking along the lines of IP
addresses and geolocation.

_______________________________________________
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: 309
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