From aa9d69348fb294c5800619cf567428036dd3095e Mon Sep 17 00:00:00 2001 From: denisdulici Date: Thu, 20 Feb 2020 13:31:10 +0300 Subject: [PATCH] reverted json deny --- .htaccess | 2 +- nginx.example.com.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.htaccess b/.htaccess index feb06d7c1..13aff4065 100644 --- a/.htaccess +++ b/.htaccess @@ -12,7 +12,7 @@ RewriteEngine On # Prevent Direct Access to Protected Files - + Order deny,allow Deny from all diff --git a/nginx.example.com.conf b/nginx.example.com.conf index fcea95fb9..e4270878d 100644 --- a/nginx.example.com.conf +++ b/nginx.example.com.conf @@ -22,7 +22,7 @@ server { } # Prevent Direct Access To Protected Files - location ~ \.(env|json|log) { + location ~ \.(env|log) { deny all; }