Changelog: https://roxy-wi.org/changelog#6_3_8
pull/364/head v6.3.8.0
Aidaho 2 years ago
parent c979424d16
commit fd009361ca

@ -132,6 +132,12 @@
command: "chdir=/tmp/nginx_src/nginx-{{ nginx_version.stderr.split('/')[1] }} cp objs/ngx_http_modsecurity_module.so /usr/lib/nginx/modules/"
when: ansible_facts['os_family'] == 'Debian' or ansible_facts['os_family'] == 'Ubuntu'
- name: Create modules directory
become: true
file:
path: /usr/share/nginx/modules/
state: directory
- name: Enable module for Centos
become: true
shell: echo 'load_module "modules/ngx_http_modsecurity_module.so";' > /usr/share/nginx/modules/mod-waf-connector.conf

@ -134,15 +134,19 @@
$("#secIntervals").css("display", "none");
var ip = []
var hostnamea = []
{% for s in servers_all %}
{% if s.15|int() == 1 %}
{%- for s in servers_all %}
{% if service == 'haproxy '%}
{% set service_in_table = s.15 %}
{% else %}
{% set service_in_table = s.14 %}
{% endif %}
{% if service_in_table|int() == 1 %}
ip.push("{{ s[2] }}");
var host = "{{s[2]}}";
host = host.replace(/\./g, '\\.');
hostnamea.push(host);
{% endif %}
{% endfor %}
</script>
{% if servers_all|length == 0 %}
{% include 'include/getstarted.html' %}

Loading…
Cancel
Save