mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 21:34:06 +02:00
healthcheck
This commit is contained in:
@@ -172,7 +172,7 @@ LABEL \
|
|||||||
#################
|
#################
|
||||||
|
|
||||||
ENV HEALTH_PORT="80" \
|
ENV HEALTH_PORT="80" \
|
||||||
HEALTH_URL="/status.php"
|
HEALTH_URL="/healthcheck"
|
||||||
HEALTHCHECK \
|
HEALTHCHECK \
|
||||||
--interval=5s \
|
--interval=5s \
|
||||||
--retries=5 \
|
--retries=5 \
|
||||||
|
|||||||
@@ -106,6 +106,6 @@
|
|||||||
"slug": "nextcloud_ocr",
|
"slug": "nextcloud_ocr",
|
||||||
"uart": true,
|
"uart": true,
|
||||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/nextcloud",
|
"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]"
|
"webui": "https://[HOST]:[PORT:443]"
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
|
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 {
|
location = /.well-known/host-meta {
|
||||||
return 301 $scheme://$http_hostpublic.php?service=host-meta;
|
return 301 $scheme://$http_hostpublic.php?service=host-meta;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user