Loading Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ RUN apk add --no-cache \ EXPOSE 443 HEALTHCHECK --interval=30s --timeout=15s --start-period=1m --retries=10 \ CMD wget --spider -q https://localhost/nginx-health \ CMD wget --spider -q http://localhost/nginx-health \ || (count=$(ps aux | grep openssl | wc -l); [ ${count} -gt 1 ]) \ || exit 1 Loading nginx/conf.d/default.conf +11 −0 Original line number Diff line number Diff line Loading @@ -26,3 +26,14 @@ server { return 204; } } server { listen [::]:80 ipv6only=on; listen 80 default_server; location = /nginx-health { access_log off; log_not_found off; return 204; } } Loading
Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ RUN apk add --no-cache \ EXPOSE 443 HEALTHCHECK --interval=30s --timeout=15s --start-period=1m --retries=10 \ CMD wget --spider -q https://localhost/nginx-health \ CMD wget --spider -q http://localhost/nginx-health \ || (count=$(ps aux | grep openssl | wc -l); [ ${count} -gt 1 ]) \ || exit 1 Loading
nginx/conf.d/default.conf +11 −0 Original line number Diff line number Diff line Loading @@ -26,3 +26,14 @@ server { return 204; } } server { listen [::]:80 ipv6only=on; listen 80 default_server; location = /nginx-health { access_log off; log_not_found off; return 204; } }