2017-11-26 11:23:34 +00:00
|
|
|
defaultEntryPoints = ["http", "https"]
|
2018-02-18 07:48:20 +00:00
|
|
|
|
2018-03-02 09:00:40 +00:00
|
|
|
# Have to enable this because of heimdall
|
2018-02-18 07:48:20 +00:00
|
|
|
InsecureSkipVerify = true
|
|
|
|
|
2018-03-02 09:00:40 +00:00
|
|
|
sendAnonymousUsage = true
|
|
|
|
|
2017-11-26 11:23:34 +00:00
|
|
|
[entryPoints]
|
|
|
|
[entryPoints.http]
|
|
|
|
address = ":80"
|
2017-11-26 20:16:49 +00:00
|
|
|
[entryPoints.http.redirect]
|
|
|
|
entryPoint = "https"
|
2017-11-26 11:23:34 +00:00
|
|
|
[entryPoints.https]
|
|
|
|
address = ":443"
|
|
|
|
# This is required for ACME support
|
|
|
|
[entryPoints.https.tls]
|
2017-12-25 12:28:13 +00:00
|
|
|
[[entryPoints.https.tls.certificates]]
|
|
|
|
certFile = "/etc/traefik/git.captnemo.in.crt"
|
|
|
|
keyFile = "/etc/traefik/git.captnemo.in.key"
|
2018-01-29 20:09:36 +00:00
|
|
|
[[entryPoints.https.tls.certificates]]
|
|
|
|
certFile = "/etc/traefik/rss.captnemo.in.crt"
|
|
|
|
keyFile = "/etc/traefik/rss.captnemo.in.key"
|
2018-02-27 19:35:47 +00:00
|
|
|
# This contains 2 domains: {emby|airsonic}.bb8.fun
|
|
|
|
[[entryPoints.https.tls.certificates]]
|
|
|
|
certFile = "/etc/traefik/emby.in.bb8.fun.crt"
|
|
|
|
keyFile = "/etc/traefik/emby.in.bb8.fun.key"
|
2017-11-26 11:23:34 +00:00
|
|
|
|
2017-11-29 21:15:38 +00:00
|
|
|
[docker]
|
2017-12-03 17:56:11 +00:00
|
|
|
# Make sure you mount this as readonly
|
2017-11-29 21:15:38 +00:00
|
|
|
endpoint = "unix:///var/run/docker.sock"
|
|
|
|
domain = "bb8.fun"
|
|
|
|
watch = true
|
|
|
|
exposedbydefault = false
|
|
|
|
|
2017-11-26 11:23:34 +00:00
|
|
|
[file]
|
|
|
|
[backends]
|
|
|
|
|
2017-11-26 20:16:49 +00:00
|
|
|
# This is currently not exposed
|
|
|
|
# Since I can't apply a authentication
|
|
|
|
# on this yet
|
2018-02-03 07:36:06 +00:00
|
|
|
|
2017-11-26 11:23:34 +00:00
|
|
|
[backends.elibsrv]
|
|
|
|
[backends.elibsrv.servers.default]
|
|
|
|
url = "http://elibsrv.captnemo.in:90"
|
|
|
|
|
|
|
|
[backends.scan]
|
|
|
|
[backends.scan.servers.default]
|
|
|
|
url = "http://scan.in.bb8.fun:90"
|
|
|
|
|
|
|
|
[frontends]
|
|
|
|
|
|
|
|
[frontends.scan]
|
|
|
|
backend = "scan"
|
2017-11-29 20:14:05 +00:00
|
|
|
[frontends.scan.headers]
|
|
|
|
SSLRedirect = true
|
|
|
|
SSLTemporaryRedirect = true
|
|
|
|
STSSeconds = 2592000
|
|
|
|
FrameDeny = true
|
|
|
|
ContentTypeNosniff = true
|
|
|
|
BrowserXssFilter = true
|
|
|
|
ReferrerPolicy = "no-referrer"
|
|
|
|
[frontends.scan.headers.customresponseheaders]
|
|
|
|
X-Powered-By = "Allomancy"
|
|
|
|
Server = "BlackBox"
|
|
|
|
X-Clacks-Overhead = "GNU Terry Pratchett"
|
2017-11-26 11:23:34 +00:00
|
|
|
[frontends.scan.routes.domain]
|
|
|
|
rule = "Host:scan.bb8.fun"
|
|
|
|
|
2017-11-04 21:27:00 +00:00
|
|
|
[web]
|
2017-11-26 11:23:34 +00:00
|
|
|
address = ":1111"
|
|
|
|
readOnly = true
|
|
|
|
|
2018-02-09 20:56:31 +00:00
|
|
|
# To enable Traefik to export internal metrics to Prometheus
|
|
|
|
[web.metrics.prometheus]
|
|
|
|
|
2017-11-26 11:23:34 +00:00
|
|
|
[acme]
|
|
|
|
|
|
|
|
email = "acme@captnemo.in"
|
|
|
|
storage = "/acme/acme.json"
|
|
|
|
entryPoint = "https"
|
2018-02-03 07:36:06 +00:00
|
|
|
onHostRule = false
|
2017-11-26 20:16:49 +00:00
|
|
|
onDemand = false
|
2017-12-04 06:11:13 +00:00
|
|
|
acmelogging = true
|
2017-11-26 14:22:49 +00:00
|
|
|
|
2018-02-17 21:32:12 +00:00
|
|
|
[acme.httpChallenge]
|
|
|
|
entryPoint = "http"
|
|
|
|
|
|
|
|
# Keep DNS challenge disabled
|
|
|
|
# for now
|
|
|
|
# [acme.dnsChallenge]
|
|
|
|
# provider = "cloudflare"
|
|
|
|
# delayBeforeCheck = 5
|
2018-02-17 20:46:56 +00:00
|
|
|
# Get wildcard once possible
|
2017-11-26 11:23:34 +00:00
|
|
|
|
2017-11-26 20:16:49 +00:00
|
|
|
[[acme.domains]]
|
|
|
|
main = "bb8.fun"
|
|
|
|
sans = [
|
2018-02-17 20:46:56 +00:00
|
|
|
"ads.bb8.fun",
|
2017-12-03 17:56:11 +00:00
|
|
|
"airsonic.bb8.fun",
|
2018-02-17 20:46:56 +00:00
|
|
|
"apps.bb8.fun",
|
2017-12-03 17:56:11 +00:00
|
|
|
"cadvisor.bb8.fun",
|
2018-02-17 20:46:56 +00:00
|
|
|
"dns.bb8.fun",
|
2017-11-26 20:16:49 +00:00
|
|
|
"emby.bb8.fun",
|
2018-03-07 19:12:42 +00:00
|
|
|
"falcon.bb8.fun", # Temporarily used for lidarr
|
2018-02-17 20:46:56 +00:00
|
|
|
"ghost.bb8.fun",
|
2018-03-07 19:12:42 +00:00
|
|
|
"grafana.bb8.fun", # Unused
|
2017-11-26 20:16:49 +00:00
|
|
|
"headphones.bb8.fun",
|
|
|
|
"home.bb8.fun",
|
2018-02-17 20:46:56 +00:00
|
|
|
"info.bb8.fun",
|
|
|
|
"jackett.bb8.fun",
|
2017-12-03 17:56:11 +00:00
|
|
|
"library.bb8.fun",
|
2017-12-28 17:07:19 +00:00
|
|
|
"luke.bb8.fun",
|
|
|
|
"monitoring.bb8.fun",
|
2018-03-02 21:27:43 +00:00
|
|
|
# "lidarr.bb8.fun", (TBA)
|
|
|
|
"ombi.bb8.fun", # Unused
|
2017-12-28 17:07:19 +00:00
|
|
|
"pics.bb8.fun",
|
2018-02-17 20:46:56 +00:00
|
|
|
"radarr.bb8.fun",
|
2017-12-03 17:56:11 +00:00
|
|
|
"read.bb8.fun",
|
2017-12-28 17:07:19 +00:00
|
|
|
"rey.bb8.fun",
|
2017-12-03 17:56:11 +00:00
|
|
|
"scan.bb8.fun",
|
2018-02-17 20:46:56 +00:00
|
|
|
"sonarr.bb8.fun",
|
2017-12-28 17:07:19 +00:00
|
|
|
"tatooine.bb8.fun",
|
2018-02-17 20:46:56 +00:00
|
|
|
"tie.bb8.fun",
|
2017-12-03 17:56:11 +00:00
|
|
|
"traefik.bb8.fun",
|
|
|
|
"transmission.bb8.fun",
|
2018-02-17 20:46:56 +00:00
|
|
|
"wifi.bb8.fun",
|
2017-12-03 18:15:51 +00:00
|
|
|
"wiki.bb8.fun"
|
2017-11-26 20:16:49 +00:00
|
|
|
]
|