diff --git a/group_vars/all.yaml.example b/group_vars/all.yaml.example index 8068507..a3abcf2 100644 --- a/group_vars/all.yaml.example +++ b/group_vars/all.yaml.example @@ -3,3 +3,5 @@ ext_gateway: "" # Put here the public key of the users CA. user_ca_key: "" +# Put here the public ip for your organisation +public_ip: 0.0.0.0 diff --git a/roles/reverse_proxy/templates/http.j2 b/roles/reverse_proxy/templates/http.j2 index 58f93a4..3ed5cb6 100644 --- a/roles/reverse_proxy/templates/http.j2 +++ b/roles/reverse_proxy/templates/http.j2 @@ -1,5 +1,5 @@ server { - listen 80; + listen {{ public_ip }}:80; server_name {{ hostname }}.lilik.it www.{{ hostname }}.lilik.it;