mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-24 05:26:28 +01:00
healthcheck
This commit is contained in:
@@ -172,7 +172,7 @@ LABEL \
|
||||
#################
|
||||
|
||||
ENV HEALTH_PORT="80" \
|
||||
HEALTH_URL="/status.php"
|
||||
HEALTH_URL="/healthcheck"
|
||||
HEALTHCHECK \
|
||||
--interval=5s \
|
||||
--retries=5 \
|
||||
|
||||
@@ -106,6 +106,6 @@
|
||||
"slug": "nextcloud_ocr",
|
||||
"uart": true,
|
||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud",
|
||||
"version": "26.0.0-2",
|
||||
"version": "26.0.0-3",
|
||||
"webui": "https://[HOST]:[PORT:443]"
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user