mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
nixos/wordpress: Disable directory indexes
Fixes #151159 Confirmed using path http://localhost/wp-includes/
This commit is contained in:
parent
78cd22c1b8
commit
bb358d6566
@ -359,7 +359,7 @@ in
|
||||
|
||||
DirectoryIndex index.php
|
||||
Require all granted
|
||||
Options +FollowSymLinks
|
||||
Options +FollowSymLinks -Indexes
|
||||
</Directory>
|
||||
|
||||
# https://wordpress.org/support/article/hardening-wordpress/#securing-wp-config-php
|
||||
|
Loading…
Reference in New Issue
Block a user