Welcome! Log In Create A New Profile

Advanced

Block

June 26, 2014 01:01AM
Hello, new to all this so I apologize if my question is not formatted correctly.

We only allow https from outside our network (via hardware firewall).
I want to block access to usr/share/nginx/html but allow access access to usr/share/nginx/html/folder1

I have figured I need to be working with the ssl.conf file and have successfully blocked /usr/share/nginx/html/folder2 I just cant figure out how to deny all for the main html folder while allowing /folder1 to be accessible.

If I add:
location / {
deny all;
}

It blocks just fine I just cant figure out how to allow /folder2

Thanks!
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: 186
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