diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-01-01 03:01:51 -0500 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-01-01 03:01:51 -0500 |
| commit | a2a29e3809bc58cfeef7b3e38a56c02dabcf4395 (patch) | |
| tree | c19848b36879ffcf3a06d9af0061c1e511780660 | |
| parent | 79f774bf52689ad4a62f35b48f692784cd37fdfb (diff) | |
set up nginx stub_status module
| -rw-r--r-- | nginx/nginx.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index db804a5d..944ef6ad 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -246,4 +246,14 @@ http { include /etc/nginx/snippets/security-headers.conf; } + + server { + listen 127.0.0.1:81; + listen [::1]:81; + + location /nginx_status { + stub_status; + access_log off; + } + } } |
