From 648e28f80dadf798ec6a4c498bd67a8766613f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentinas=20=C4=8Cirba?= Date: Thu, 9 Nov 2023 16:19:57 +0200 Subject: [PATCH] Update Moodle 4 vhost Updating Moodle 4 vhost so it won't block Let's encrypt installation. --- v2/Moodle/Moodle 4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/v2/Moodle/Moodle 4 b/v2/Moodle/Moodle 4 index 67faa18..19e3af1 100755 --- a/v2/Moodle/Moodle 4 +++ b/v2/Moodle/Moodle 4 @@ -12,9 +12,9 @@ server { {{nginx_access_log}} {{nginx_error_log}} - if ($scheme != "https") { - rewrite ^ https://$host$uri permanent; - } + #if ($scheme != "https") { + # rewrite ^ https://$host$uri permanent; + #} location ~ /.well-known { auth_basic off; @@ -50,4 +50,4 @@ server { if (-f $request_filename) { break; } -} \ No newline at end of file +}