Skip to content

Commit

Permalink
Remove commented out templating
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Oleske <moleske@pivotal.io>
Co-authored-by: David Alvarado <alvaradoda@vmware.com>
  • Loading branch information
moleske and dalvarado committed Jul 12, 2022
1 parent 80d2622 commit 30ee792
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions jobs/cloud_controller_ng/templates/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -172,29 +172,6 @@ http {
proxy_pass http://cloud_controller;
}
}
<%# server { %>
<%# listen 9024 ssl; %>
<%# include prom_scraper_mtls.conf; %>
<%# server_name _; %>
<%# server_name_in_redirect off; %>
<%# <% if p("request_timeout_in_seconds").to_i > 0 %1> %>
<%# proxy_send_timeout <%= p("request_timeout_in_seconds") %1>; %>
<%# proxy_read_timeout <%= p("request_timeout_in_seconds") %1>; %>
<%# <% end %1> %>
<%# proxy_buffering off; %>
<%# proxy_set_header Host $host; %>
<%# proxy_set_header X-Real_IP $remote_addr; %>
<%# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; %>
<%# proxy_redirect off; %>
<%# proxy_connect_timeout 10; %>
<%# location /internal/v4/metrics { %>
<%# proxy_pass http://cloud_controller; %>
<%# } %>
<%# } %>


# This block handles public endpoints over TLS
server {
Expand Down

0 comments on commit 30ee792

Please sign in to comment.