Skip to content

Commit b7eb1d8

Browse files
authored
Merge pull request #27 from bgraef/main
add port access for nginx from everywhere
2 parents 54d0484 + 833e42f commit b7eb1d8

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

ol/default_vars.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@ cleanup_tmp: no
4040
update_all: false
4141
passwordless_ssh: false
4242
use_podman: false
43-
use_haproxy: false
43+
use_haproxy: false
44+
use_nginx: false

ol/templates/ingress_security_rules.j2

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,24 @@ instance_ingress_security_rules:
1919
destination_port_range:
2020
max: 8080
2121
min: 8080
22+
{% endif %}
23+
{% if use_nginx %}
24+
- source: "0.0.0.0/0"
25+
protocol: 6
26+
tcp_options:
27+
destination_port_range:
28+
max: 80
29+
min: 80
30+
- source: "0.0.0.0/0"
31+
protocol: 6
32+
tcp_options:
33+
destination_port_range:
34+
max: 443
35+
min: 443
36+
- source: "0.0.0.0/0"
37+
protocol: 6
38+
tcp_options:
39+
destination_port_range:
40+
max: 8080
41+
min: 8080
2242
{% endif %}

0 commit comments

Comments
 (0)