Compare commits

...

1 Commits

Author SHA1 Message Date
Josh Brower
7300513636 Remove hardcoded path 2026-03-23 16:26:56 -04:00
4 changed files with 60 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ so-idh:
- network_mode: host
- binds:
- /nsm/idh:/var/tmp:rw
- /opt/so/conf/idh/http-skins:/usr/local/lib/python3.12/site-packages/opencanary/modules/data/http/skin:ro
- /opt/so/conf/idh/http-skins:/opt/opencanary/http-skins:ro
- /opt/so/conf/idh/opencanary.conf:/etc/opencanaryd/opencanary.conf:ro
{% if DOCKERMERGED.containers['so-idh'].custom_bind_mounts %}
{% for BIND in DOCKERMERGED.containers['so-idh'].custom_bind_mounts %}

View File

@@ -28,6 +28,7 @@
{% set HTTPPROXYSKINLIST = OPENCANARYCONFIG.pop('httpproxy_x_skinlist') %}
{% do OPENCANARYCONFIG.update({'http_x_skin_x_list': HTTPSKINLIST}) %}
{% do OPENCANARYCONFIG.update({'httpproxy_x_skin_x_list': HTTPPROXYSKINLIST}) %}
{% do OPENCANARYCONFIG.update({'http_x_skindir': '/opt/opencanary/http-skins/' ~ OPENCANARYCONFIG['http_x_skin']}) %}
{% set OPENSSH = salt['pillar.get']('idh:openssh', default=IDHCONFIG.idh.openssh, merge=True) %}

View File

@@ -0,0 +1,29 @@
<html>
<head>
<title>Redirect</title>
<style>
body {
width: 100%;
}
.outer {
margin-left: auto;
margin-right: auto;
width: 25em;
height: 100%;
}
.inner{
display: table-cell;
vertical-align: middle;
height: 30em;
}
</style>
</head>
<body>
<div class='outer'>
<div class='inner'>
<a href="/index">Click here</a>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,29 @@
<html>
<head>
<title>Redirect</title>
<style>
body {
width: 100%;
}
.outer {
margin-left: auto;
margin-right: auto;
width: 25em;
height: 100%;
}
.inner{
display: table-cell;
vertical-align: middle;
height: 30em;
}
</style>
</head>
<body>
<div class='outer'>
<div class='inner'>
<a href="/index">Click here</a>
</div>
</div>
</body>
</html>