From 963c8e3f8415b78ab83406dca105a9dd16c6cc10 Mon Sep 17 00:00:00 2001 From: Stylix58 <63605602+Stylix58@users.noreply.github.com> Date: Thu, 1 Apr 2021 12:51:13 +0200 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 37de41d..0687e1e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,7 +8,12 @@ location __PATH__/ { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } - + + # Deny acces to chuwiki conf. + location /configuration.ini { + deny all; + } + ### Example PHP configuration (remove it if not used) index index.php;