fix firewall rules for nginx

This commit is contained in:
Robert Kaussow 2019-01-19 03:07:45 +01:00
parent a9a9da3e91
commit c79d7d0186

View File

@ -41,7 +41,7 @@
iptables_raw: iptables_raw:
name: allow_matrix_nginx_proxy name: allow_matrix_nginx_proxy
state: present state: present
rules: '-A OUTPUT -m state --state NEW -p tcp -d {{ matrix_bind_ip }} --dport {{ matrix_bind_port }} -j ACCEPT' rules: '-A OUTPUT -m state --state NEW -p tcp -d {{ matrix_nginx_proxy_ip }} --dport {{ matrix_nginx_proxy_port }} -j ACCEPT'
when: matrix_nginx_iptables_enabled when: matrix_nginx_iptables_enabled
delegate_to: "{{ matrix_nginx_server }}" delegate_to: "{{ matrix_nginx_server }}"
become: True become: True