mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 16:33:30 +08:00
Update Moodle 4 vhost
Updating Moodle 4 vhost so it won't block Let's encrypt installation.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user