From 5138ac852a7374e0dade729fe859af79e2eb037f Mon Sep 17 00:00:00 2001 From: diller110 Date: Mon, 26 Aug 2019 21:44:34 +0400 Subject: [PATCH] Update nginx config.txt --- web/nginx config.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/nginx config.txt b/web/nginx config.txt index 2041703..1623e1d 100644 --- a/web/nginx config.txt +++ b/web/nginx config.txt @@ -1,7 +1,10 @@ в server { ... } #AC:Advert https://hlmod.ru/threads/ac-advert-reklamnye-soobschenija.49238/ -location /advert { +location /advert/ { index index.php index.html index.htm; try_files $uri /advert/index.php?$query_string; +} +location ~ /advert/(app|tmp) { + return 403; } \ No newline at end of file