mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Конфиги, реврайты, лишняя папка.
This commit is contained in:
parent
7eaa4f3b8d
commit
53c0e9f9b8
4 changed files with 9 additions and 9 deletions
|
@ -125,13 +125,16 @@ http {
|
|||
|
||||
location ~ \/admin|backup\/ {
|
||||
deny all;
|
||||
# allow YOUR_IP;
|
||||
#allow YOUR_IP;
|
||||
}
|
||||
# Deny folder (Sec. lvl1)
|
||||
location ~ \/(cache|log|attach_mod|config|includes|language|triggers)\/ {
|
||||
location ~ \/(internal_data|library)\/ {
|
||||
deny all;
|
||||
}
|
||||
|
||||
# sitemap rewrite
|
||||
rewrite ^/sitemap.xml$ /internal_data/sitemap/sitemap.xml;
|
||||
|
||||
# deny access to .htaccess files, if Apache's document root
|
||||
# concurs with nginx's one
|
||||
# deny sql,tpl,db,inc,log
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue