aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/host_vars/lovelace/nginx.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/ansible/host_vars/lovelace/nginx.yml b/ansible/host_vars/lovelace/nginx.yml
index aa67907..c229214 100644
--- a/ansible/host_vars/lovelace/nginx.yml
+++ b/ansible/host_vars/lovelace/nginx.yml
@@ -1,6 +1,20 @@
nginx_default_cert_name: lovelace.box.pydis.wtf
nginx_configs:
+ stats-stub.conf: |
+ server {
+ listen 127.0.0.1;
+ listen [::1];
+
+ server_name localhost;
+ location /nginx_status {
+ stub_status on;
+ access_log off;
+ allow 127.0.0.1;
+ allow ::1;
+ deny all;
+ }
+ }
prometheus.lovelace.box.wtf.conf: |
server {
listen 443;