File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{{ ansible_managed | comment }}
22
33{% for ip in ansible_all_ipv4_addresses %}
4- Listen {{ ip }}:{{ item.port }}
4+ Listen {{ ip }}:{{ item.port_public }}
55
6- <VirtualHost {{ ip }}:{{ item.port }}>
6+ <VirtualHost {{ ip }}:{{ item.port_public }}>
77 ProxyPreserveHost On
88
99 <Location "/">
@@ -16,4 +16,4 @@ Listen {{ ip }}:{{ item.port }}
1616 </Location>
1717
1818</VirtualHost>
19- {% endfor %}
19+ {% endfor %}
Original file line number Diff line number Diff line change 22
33server {
44 {% for ip in ansible_all_ipv4_addresses %}
5- listen {{ ip }}:{{ item.port }}{% if nginx_prometheus_tls_certificate_path is defined %} ssl http2{% endif %};
5+ listen {{ ip }}:{{ item.port_public }}{% if nginx_prometheus_tls_certificate_path is defined %} ssl http2{% endif %};
66 {% endfor %}
77
88 ## We use "_" as a dirty trick to achieve catch-all behavior. See http://nginx.org/en/docs/http/server_names.html
You can’t perform that action at this time.
0 commit comments