healthcheck

This commit is contained in:
Alexandre
2023-03-26 16:10:07 +02:00
parent 2ecba77a16
commit ddb271f935
3 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
location /healthcheck {
proxy_pass http://127.0.0.1:80/status.php;
access_log off;
log_not_found off;
}
location = /.well-known/host-meta {
return 301 $scheme://$http_hostpublic.php?service=host-meta;
}