Welcome! Log In Create A New Profile

Advanced

Re: Block

Francis Daly
June 26, 2014 04:00AM
On Thu, Jun 26, 2014 at 01:01:13AM -0400, RandysPants wrote:

> If I add:
> location / {
> deny all;
> }
>
> It blocks just fine I just cant figure out how to allow /folder2

location /folder2 {}

This does assume there are no other location{} blocks; and it does allow
more than just /folder2/ contents.

http://nginx.org/r/location

for the details, and how to allow only /folder2 contents (by using two
separate location{}s).

f
--
Francis Daly francis@daoine.org

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

Block

RandysPants June 26, 2014 01:01AM

Re: Block

Francis Daly June 26, 2014 04:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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