added stub_status module
This commit is contained in:
parent
40c74a0863
commit
5cfce700fb
3 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue