From 079adfa4a1ebe9f4c5362c9163e4cc4026e4886a Mon Sep 17 00:00:00 2001 From: Raphael Pinto Date: Wed, 14 Jun 2023 21:45:01 -0300 Subject: [PATCH] Update default.conf.template --- nginx/default.conf.template | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/nginx/default.conf.template b/nginx/default.conf.template index 1ecc785..3c0ca6f 100644 --- a/nginx/default.conf.template +++ b/nginx/default.conf.template @@ -24,21 +24,21 @@ server { access_log off; } - location /metrics { - resolver ${NGINX_EXPORTER_RESOLVER}; + #location /metrics { + # resolver ${NGINX_EXPORTER_RESOLVER}; + + # set $upstream_nginx_exporter ${NGINX_EXPORTER_URL}; - set $upstream_nginx_exporter ${NGINX_EXPORTER_URL}; + # proxy_ssl_verify off; + # proxy_pass $upstream_nginx_exporter; - proxy_ssl_verify off; - proxy_pass $upstream_nginx_exporter; + # # Basic Auth + # # jamie_ui:Jamie@2023 + # auth_basic "Restricted"; + # auth_basic_user_file /etc/nginx/.htpasswd; - # Basic Auth - # jamie_ui:Jamie@2023 - auth_basic "Restricted"; - auth_basic_user_file /etc/nginx/.htpasswd; - - access_log off; - } + # access_log off; + #} location / { try_files $uri $uri/ = /index.html; @@ -47,4 +47,4 @@ server { # error_page 404 /404.html; # error_page 500 502 503 504 /50x.html; -} \ No newline at end of file +}