From bb358d65666f7e710f25f828f4626febda8eb348 Mon Sep 17 00:00:00 2001 From: Moritz Hedtke Date: Thu, 6 Jan 2022 18:04:19 +0100 Subject: [PATCH] nixos/wordpress: Disable directory indexes Fixes #151159 Confirmed using path http://localhost/wp-includes/ --- nixos/modules/services/web-apps/wordpress.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/web-apps/wordpress.nix b/nixos/modules/services/web-apps/wordpress.nix index 8ebb72296627..629fd04dc033 100644 --- a/nixos/modules/services/web-apps/wordpress.nix +++ b/nixos/modules/services/web-apps/wordpress.nix @@ -359,7 +359,7 @@ in DirectoryIndex index.php Require all granted - Options +FollowSymLinks + Options +FollowSymLinks -Indexes # https://wordpress.org/support/article/hardening-wordpress/#securing-wp-config-php