From 0cf7a53404e09cde404a35150ccef79861ffb7d6 Mon Sep 17 00:00:00 2001 From: Zachary Nevin Date: Fri, 15 Jul 2016 11:07:28 +0800 Subject: [PATCH 1/2] Enable the http_stub_status_module The http_stub_status_module allows us to set up an endpoint that returns server health information. --- debian/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/Dockerfile b/debian/Dockerfile index 266cd22..98f4bcd 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -37,6 +37,7 @@ RUN cd /root \ --without-http_userid_module \ --without-http_uwsgi_module \ --without-http_scgi_module \ + --with-http_stub_status_module \ -j${NPROC} \ && echo "==> Building OpenResty..." \ && make -j${NPROC} \ From 04841d59db83d93c65b807c7a44f5ec9608caaa1 Mon Sep 17 00:00:00 2001 From: Zachary Nevin Date: Fri, 15 Jul 2016 11:16:14 +0800 Subject: [PATCH 2/2] Added http_stub_status_module to alpine dockerfile --- alpine/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index b30c180..118c2b8 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -38,6 +38,7 @@ RUN echo "==> Installing dependencies..." \ --without-http_userid_module \ --without-http_uwsgi_module \ --without-http_scgi_module \ + --with-http_stub_status_module \ -j${NPROC} \ && echo "==> Building OpenResty..." \ && make -j${NPROC} \