nixos/wordpress: Disable directory indexes

Fixes #151159
Confirmed using path http://localhost/wp-includes/
This commit is contained in:
Moritz Hedtke 2022-01-06 18:04:19 +01:00
parent 78cd22c1b8
commit bb358d6566
No known key found for this signature in database
GPG key ID: 6794D45A488C2EDE

View file

@ -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