2020-10-04 22:11:03 +02:00
|
|
|
location ^~ '/.well-known/yunomonitor/' {
|
2019-11-19 13:17:04 +01:00
|
|
|
|
|
|
|
default_type "text/plain";
|
|
|
|
alias __FINALPATH__/well-known/;
|
|
|
|
|
|
|
|
# Force usage of https
|
|
|
|
if ($scheme = http) {
|
|
|
|
rewrite ^ https://$server_name$request_uri? permanent;
|
|
|
|
}
|
|
|
|
}
|