From ff9dc35bb92ff7d7c18136182e90bb146662910e Mon Sep 17 00:00:00 2001 From: faulty Date: Tue, 31 Jan 2023 12:43:32 +0100 Subject: [PATCH] all services get an nginx status check --- custom/proxy/config/vhost.d/default | 8 +++++++- custom/proxy/config/vhost.d/faulty.nl | 4 ---- 2 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 custom/proxy/config/vhost.d/faulty.nl diff --git a/custom/proxy/config/vhost.d/default b/custom/proxy/config/vhost.d/default index ca54ae3..201ffc2 100644 --- a/custom/proxy/config/vhost.d/default +++ b/custom/proxy/config/vhost.d/default @@ -7,4 +7,10 @@ location ^~ /.well-known/acme-challenge/ { try_files $uri =404; break; } -## End of configuration add by letsencrypt container \ No newline at end of file +## End of configuration add by letsencrypt container + + +location /_/nginx { + add_header Content-Type text/html; + return 200 "Nginx is working..." +} \ No newline at end of file diff --git a/custom/proxy/config/vhost.d/faulty.nl b/custom/proxy/config/vhost.d/faulty.nl deleted file mode 100644 index b775c4d..0000000 --- a/custom/proxy/config/vhost.d/faulty.nl +++ /dev/null @@ -1,4 +0,0 @@ -location /nginx { - add_header Content-Type text/html; - return 200 "Nginx is running!"; -} \ No newline at end of file