WOLTLAB WCS 3.0.0 mit NGINX PUR / NGINX ONLY: (erster Block zur Darstellung der Verzeichnisstruktur)
Code
if (!-e $request_filename)
{
rewrite ^/(wcf/|gallery/|blog/|calendar/|filebase/)?(.+)$ /$1index.php?$2 last;
}
location ~ /\.ht {
deny all;
}
location ~ /cli.php|config.inc.php|global.php|options.inc.php {
deny all;
}
location ~ /acp/templates/ {
deny all;
}
location ~ /acp/uninstall/ {
deny all;
}
location ~ /attachments/ {
deny all;
}
location ~ /cache/ {
deny all;
}
location ~ /images/proxy/ {
deny all;
}
location ~ /language/ {
deny all;
}
location ~ /lib/ {
deny all;
}
location ~ /log/ {
deny all;
}
location ~ /templates/ {
deny all;
}
location ~ /*/templates/ {
deny all;
}
location ~ /tmp/ {
deny all;
}
location ~ /*/config.inc.php|global.php {
deny all;
}
location ~ /*/lib/ {
deny all;
}
location ~ /*/lib/core.functions.php {
deny all;
}
location ~ /*/acp/templates/ {
deny all;
}
Display More