Only add HTTPS redirect when it's needed
All checks were successful
/ terraform (push) Successful in 1m3s
/ ansible (push) Successful in 2m7s

This commit is contained in:
Jake Howard 2023-12-16 18:13:49 +00:00
parent 48efcf4d91
commit cfb498d7c6
Signed by: jake
GPG key ID: 57AFB45680EDD477
4 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,5 @@
nebula_is_lighthouse: true
nebula_listen_port: "{{ nebula_lighthouse_port }}"
ssh_extra_allowed_users: f2b@{{ nebula.cidr }} f2b@{{ pve_hosts.internal_cidr }}
nginx_https_redirect: true

View file

@ -1,2 +1,4 @@
# Listen on a static port so it can be opened in the firewall
nebula_listen_port: "{{ nebula_lighthouse_port }}"
nginx_https_redirect: true

View file

@ -0,0 +1 @@
nginx_https_redirect: false

View file

@ -36,3 +36,4 @@
mode: "0644"
become: true
notify: reload nginx
when: nginx_https_redirect