Welcome! Log In Create A New Profile

Advanced

Re: Nginx configuration to secure Baïkal installation

All files from this thread

File Name File Size   Posted by Date  
DSC_1413.jpg 176.3 KB open | download 09/26/2020 Read message
DSC_1417.jpg 137 KB open | download 09/26/2020 Read message
Francis Daly
September 29, 2020 04:12PM
On Sat, Sep 26, 2020 at 05:23:30AM -0400, Amateur Synologist wrote:

Hi there,

I think your first question was "which file should this go in"?

You may have the answer already -- basically, it is "whichever file your
nginx reads".

If you have a running system, that is "the -c argument to nginx"; falling
back to its compile-time default -- "nginx -V" can help indicate what
that is.

> But their instructions says: "In particular you should really make sure that
> the Specific directory is not accessible directly, as this could contain
> your sql database"
> I've tried to enter path to Specific directory (baikal\Specific\db\) and I
> can access to sql database.

The configuration you showed includes

> location ~ /(\.ht|Core|Specific) {
> deny all;
> return 404;
> }

and nothing else that would obviously match that request. So if you are
getting a http 200 response, then the config that is being used is not
the config that you showed.

Just to confirm: you are actually accessing something like
http://dav.example.org/baikal/Specific/db, yes?

Can you show the request/response using something like "curl -v"?

Thanks,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx configuration to secure Baïkal installation

Amateur Synologist September 25, 2020 02:47PM

Re: Nginx configuration to secure Baïkal installation

Thomas Ward September 25, 2020 03:40PM

Re: Nginx configuration to secure Baïkal installation

Amateur Synologist September 26, 2020 05:23AM

Re: Nginx configuration to secure Baïkal installation Attachments

Anonymous User September 26, 2020 05:38AM

Re: Nginx configuration to secure Baïkal installation

Francis Daly September 29, 2020 04:12PM

Re: Nginx configuration to secure Baïkal installation

Anonymous User September 25, 2020 08:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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