Skip to content
Snippets Groups Projects
Commit 9841874d authored by Arne Øslebø's avatar Arne Øslebø
Browse files

added ssl to port 9200

parent 78b62415
No related branches found
No related tags found
No related merge requests found
--- ---
dslproxy: "arne-centos2.cert-labs.uninett.no" dslproxy: "<CHANGE_ME:hostname>"
# TheHive Button plugin # TheHive Button plugin
THEHIVE_URL: "https://hive.gn4-3-wp8-soc.sunet.se/" THEHIVE_URL: "https://hive.gn4-3-wp8-soc.sunet.se/"
......
#!/bin/sh
set -e
# first arg is `-f` or `--some-option`
if [ "${1#-}" != "$1" ]; then
set -- haproxy "$@"
fi
if [ "$1" = 'haproxy' ]; then
shift # "haproxy"
# if the user wants "haproxy", let's add a couple useful flags
# -W -- "master-worker mode" (similar to the old "haproxy-systemd-wrapper"; allows for reload via "SIGUSR2")
# -db -- disables background mode
set -- haproxy -W -db "$@"
fi
exec "$@"
...@@ -36,14 +36,14 @@ listen nifiserv ...@@ -36,14 +36,14 @@ listen nifiserv
{% endfor %} {% endfor %}
listen odfeserv listen odfeserv
bind *:9200 bind *:9200 ssl crt /etc/ssl/haproxy alpn h2,http/1.1
mode http mode http
maxconn 5000 maxconn 5000
fullconn 5000 fullconn 5000
balance source balance source
option tcpka option tcpka
{% for odfehost in groups['odfeescontainers'] %} {% for odfehost in groups['odfeescontainers'] %}
server {{odfehost}} {{odfehost}}:9200 check server {{odfehost}} {{odfehost}}:9200 ssl check verify none
{% endfor %} {% endfor %}
listen keycloakserv listen keycloakserv
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<user identifier="c78caf19-016f-1000-0001-{{'%012d'|format(loop.index) }}" identity="CN={{ nifi }}"/> <user identifier="c78caf19-016f-1000-0001-{{'%012d'|format(loop.index) }}" identity="CN={{ nifi }}"/>
{% endfor %} {% endfor %}
{% for user in soctools_users %} {% for user in soctools_users %}
<user identifier="c78caf19-016f-1000-0002-{{'%012d'|format(loop.index) }}" identity="{{ user.DN }}"/> <user identifier="c78caf19-016f-1000-0002-{{'%012d'|format(loop.index) }}" identity="{{ user.username }}"/>
{% endfor %} {% endfor %}
</users> </users>
</tenants> </tenants>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment