-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove unnecessary locations from nginx.conf.erb All locations removed from nginx config, for port which is only used for the metrics endpoint. Replaced catch-all servername with internal servername. - Adjust unit tests Put tests into correct context Fix naming of contexts (rubocop) - Adjust nginx.conf.erb template for better indentation and less blank lines - Improve scrape TLS file templates
- Loading branch information
Showing
5 changed files
with
84 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
<% if_p('cc.prom_scraper_tls.public_cert') do %> | ||
<%= p('cc.prom_scraper_tls.public_cert') %> | ||
<% end %> | ||
|
||
<%= p('cc.prom_scraper_tls.public_cert', '') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
<% if_p('cc.prom_scraper_tls.private_key') do %> | ||
<%= p('cc.prom_scraper_tls.private_key') %> | ||
<% end %> | ||
<%= p('cc.prom_scraper_tls.private_key', '') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
<% if_p("cc.prom_scraper_tls.ca_cert") do %> | ||
<%= p("cc.prom_scraper_tls.ca_cert") %> | ||
<% end %> | ||
<%= p('cc.prom_scraper_tls.ca_cert', '') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters