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_access_log}}
{{nginx_error_log}} {{nginx_error_log}}
if ($scheme != "https") { #if ($scheme != "https") {
rewrite ^ https://$host$uri permanent; # rewrite ^ https://$host$uri permanent;
} #}
location ~ /.well-known { location ~ /.well-known {
auth_basic off; auth_basic off;