added stub_status module

This commit is contained in:
Ricard Bejarano 2019-03-13 09:31:02 +01:00
parent 40c74a0863
commit 5cfce700fb
No known key found for this signature in database
GPG key ID: 5A5105DD6B91CA19
3 changed files with 6 additions and 1 deletions

View file

@ -28,6 +28,7 @@ ARG NGINX_CONFIG="\
--with-file-aio \ --with-file-aio \
--with-http_v2_module \ --with-http_v2_module \
--with-http_ssl_module \ --with-http_ssl_module \
--with-http_stub_status_module \
--with-stream \ --with-stream \
--with-stream_ssl_module \ --with-stream_ssl_module \
--with-threads" --with-threads"

View file

@ -26,8 +26,9 @@ ARG NGINX_CONFIG="\
--with-openssl=/tmp/openssl-$OPENSSL_VERSION \ --with-openssl=/tmp/openssl-$OPENSSL_VERSION \
--with-zlib=/tmp/zlib-$ZLIB_VERSION \ --with-zlib=/tmp/zlib-$ZLIB_VERSION \
--with-file-aio \ --with-file-aio \
--with-http_ssl_module \
--with-http_v2_module \ --with-http_v2_module \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-stream \ --with-stream \
--with-stream_ssl_module \ --with-stream_ssl_module \
--with-threads" --with-threads"

View file

@ -21,6 +21,9 @@ http {
root /etc/nginx/html; root /etc/nginx/html;
index index.html; index index.html;
} }
location = /stub_status {
stub_status;
}
location = /50x.html { location = /50x.html {
root /etc/nginx/html; root /etc/nginx/html;
} }