Skip to content

Commit

Permalink
Merge pull request #17 from bancodobrasil/ralphg6-patch-1
Browse files Browse the repository at this point in the history
Remove temporary the metrics
  • Loading branch information
ralphg6 authored Jun 15, 2023
2 parents 02c749b + 079adfa commit 26fc73e
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions nginx/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -47,4 +47,4 @@ server {
# error_page 404 /404.html;
# error_page 500 502 503 504 /50x.html;

}
}

0 comments on commit 26fc73e

Please sign in to comment.