mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-05-13 03:52:13 -04:00
cleaner nginx status monitoring configuration
This commit is contained in:
parent
d4e4cca682
commit
1cf2da16c9
1 changed files with 7 additions and 1 deletions
|
@ -142,9 +142,15 @@ http {
|
||||||
listen 127.0.0.1:81;
|
listen 127.0.0.1:81;
|
||||||
listen [::1]:81;
|
listen [::1]:81;
|
||||||
|
|
||||||
location /nginx_status {
|
root /var/empty;
|
||||||
|
|
||||||
|
location = /nginx_status {
|
||||||
stub_status;
|
stub_status;
|
||||||
access_log off;
|
access_log off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location / {
|
||||||
|
return 404;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue