Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
homelab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shore
homelab
Commits
85c42db1
Commit
85c42db1
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Renew certs on the kodi host.
Should have been there, got lost in the shuffle.
parent
209cf095
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
renew-certs.yaml
+18
-0
18 additions, 0 deletions
renew-certs.yaml
roles/router/files/haproxy.cfg
+4
-2
4 additions, 2 deletions
roles/router/files/haproxy.cfg
with
22 additions
and
2 deletions
renew-certs.yaml
+
18
−
0
View file @
85c42db1
...
...
@@ -65,6 +65,24 @@
tags
:
-
host01
-
name
:
Issue certificate for kodi
include_tasks
:
apply
:
tags
:
-
kodi
file
:
'
{{
playbook_dir
}}/tasks/renew-cert.yaml'
vars
:
domains
:
-
jellyfin.shore.co.il
-
kodi.shore.co.il
-
library.shore.co.il
-
transmission.shore.co.il
handlers
:
-
Restart Nginx on kodi
host
:
kodi
tags
:
-
kodi
-
name
:
Issue certificate for smtp
include_tasks
:
apply
:
...
...
This diff is collapsed.
Click to expand it.
roles/router/files/haproxy.cfg
+
4
−
2
View file @
85c42db1
...
...
@@ -23,9 +23,10 @@ defaults
frontend
http
bind
62.219.131.121:80
mode
http
acl
kodi
hdr(host)
-i
jellyfin.shore.co.il
acl
kodi
hdr(host)
-i
kodi.shore.co.il
acl
kodi
hdr(host)
-i
library.shore.co.il
acl
kodi
hdr(host)
-i
jellyfi
n.shore.co.il
acl
kodi
hdr(host)
-i
transmissio
n.shore.co.il
use_backend
kodi_http
if
kodi
default_backend
host01_http
...
...
@@ -35,9 +36,10 @@ frontend https
option
tcplog
tcp-request
inspect-delay
5s
tcp-request
content
accept
if
{
req_ssl_hello_type
1
}
acl
kodi
req_ssl_sni
-i
jellyfin.shore.co.il
acl
kodi
req_ssl_sni
-i
kodi.shore.co.il
acl
kodi
req_ssl_sni
-i
library.shore.co.il
acl
kodi
req_ssl_sni
-i
jellyfi
n.shore.co.il
acl
kodi
req_ssl_sni
-i
transmissio
n.shore.co.il
use_backend
kodi_https
if
kodi
default_backend
host01_https
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment