Update Moodle 4 vhost

Updating Moodle 4 vhost so it won't block Let's encrypt installation.
This commit is contained in:
Valentinas Čirba
2023-11-09 16:19:57 +02:00
committed by GitHub
parent 24fb3fb52d
commit 648e28f80d

View File

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