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