From ab6737467471d4a25246ec2639c5893ffbfd63d9 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Sun, 24 Mar 2019 18:52:05 +0300 Subject: [PATCH] nginx exact match --- nginx.example.com.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.example.com.conf b/nginx.example.com.conf index 834b1fecd..ac0b7c59d 100644 --- a/nginx.example.com.conf +++ b/nginx.example.com.conf @@ -27,7 +27,7 @@ server { } # Prevent Direct Access To Protected Folders - location ~ ^/(app|bootstrap|config|database|resources|routes|storage|tests|artisan) { + location ~ ^/(^app$|bootstrap|config|database|resources|routes|storage|tests|artisan) { deny all; }