Skip to content

Commit

Permalink
Update nginx config.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
diller110 committed Aug 26, 2019
1 parent ef003fd commit 5138ac8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/nginx config.txt
Original file line number Diff line number Diff line change
@@ -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;
}

1 comment on commit 5138ac8

@Eldino162
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possible to use with apache?

Please sign in to comment.