Skip to content

Commit 0cbcc53

Browse files
committed
Block the installers path.
1 parent 85625e2 commit 0cbcc53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rootfs/etc/nginx/host.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,8 @@ location = /robots.txt {
3131
location ~ ^/(?:\.htaccess){
3232
deny all;
3333
}
34+
35+
location = /wp-admin/install.php {
36+
deny all;
37+
}
38+

0 commit comments

Comments
 (0)