Skip to content

Commit

Permalink
Merge pull request #27 from bgraef/main
Browse files Browse the repository at this point in the history
add port access for nginx from everywhere
  • Loading branch information
bgraef authored Aug 5, 2024
2 parents 54d0484 + 833e42f commit b7eb1d8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ol/default_vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ cleanup_tmp: no
update_all: false
passwordless_ssh: false
use_podman: false
use_haproxy: false
use_haproxy: false
use_nginx: false
20 changes: 20 additions & 0 deletions ol/templates/ingress_security_rules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,24 @@ instance_ingress_security_rules:
destination_port_range:
max: 8080
min: 8080
{% endif %}
{% if use_nginx %}
- source: "0.0.0.0/0"
protocol: 6
tcp_options:
destination_port_range:
max: 80
min: 80
- source: "0.0.0.0/0"
protocol: 6
tcp_options:
destination_port_range:
max: 443
min: 443
- source: "0.0.0.0/0"
protocol: 6
tcp_options:
destination_port_range:
max: 8080
min: 8080
{% endif %}

0 comments on commit b7eb1d8

Please sign in to comment.