diff --git a/salt/nginx/html/index.html b/salt/nginx/html/index.html index 92c89f536..70d1ddfb0 100644 --- a/salt/nginx/html/index.html +++ b/salt/nginx/html/index.html @@ -6,121 +6,8 @@ - -
-
- Kibana - Grafana - Sensoroni - Playbook - Fleet - TheHive - Osquery Packages - FAQ - Security Onion Solutions - Blog -
- -
-
Security Onion
- -

Hybrid Hunter Alpha v1.1.2 Release Notes


-

Changes:

- -

-
- - -
+Security Onion diff --git a/salt/nginx/init.sls b/salt/nginx/init.sls index 189b1d875..41a4c094d 100644 --- a/salt/nginx/init.sls +++ b/salt/nginx/init.sls @@ -6,11 +6,18 @@ # Drop the correct nginx config based on role nginxconfdir: file.directory: - - name: /opt/so/conf/nginx + - name: /opt/so/conf/nginx/html - user: 939 - group: 939 - makedirs: True +nginxhtml: + file.recurse: + - name: /opt/so/conf/nginx/html + - source: salt://nginx/html/ + - user: 939 + - group: 939 + nginxconf: file.managed: - name: /opt/so/conf/nginx/nginx.conf @@ -38,7 +45,7 @@ so-nginx: - image: {{ MASTER }}:5000/soshybridhunter/so-nginx:{{ VERSION }} - hostname: so-nginx - binds: - - /opt/so:/opt/so:rw + - /opt/so/conf/nginx/html:/opt/socore/html:ro - /opt/so/conf/nginx/nginx.conf:/etc/nginx/nginx.conf:ro - /opt/so/log/nginx/:/var/log/nginx:rw - /opt/so/tmp/nginx/:/var/lib/nginx:rw @@ -54,4 +61,5 @@ so-nginx: - 8090:8090 {%- endif %} - watch: - - file: nginxconf \ No newline at end of file + - file: nginxconf + - file: nginxconfdir