🏡 index : github.com/captn3m0/nebula.git

author Nemo <me@captnemo.in> 2018-04-09 1:33:36.0 +05:30:00
committer Nemo <me@captnemo.in> 2018-04-09 1:53:23.0 +05:30:00
commit
36c04c5ad37129b3edadb0f1a1bf0963821410ed [patch]
tree
e2d3d8e9ef464c58691dfbece56290b7f3946ed2
parent
ac8aa32ef3bed075edc7b10b9202c6016390c60f
download
36c04c5ad37129b3edadb0f1a1bf0963821410ed.tar.gz

Server ubooquity over multiple domains



Diff

 docker/ubooquity.tf |  9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/docker/ubooquity.tf b/docker/ubooquity.tf
index bd30ad1..1cdf71d 100644
--- a/docker/ubooquity.tf
+++ a/docker/ubooquity.tf
@@ -29,12 +29,15 @@
  labels {

    "traefik.enable" = "true"


    "traefik.admin.port"                = 2203

    "traefik.admin.frontend.rule"       = "Host:library.${var.domain}"

    "traefik.admin.port"          = 2203

    "traefik.admin.frontend.rule" = "Host:library.${var.domain}"


    # I do not trust the Ubooquity authentication
    # it does some shady JS encryption
    "traefik.admin.frontend.auth.basic" = "${var.basic_auth}"


    "traefik.read.port"          = 2202

    "traefik.read.frontend.rule" = "Host:read.${var.domain}"

    "traefik.read.frontend.rule" = "Host:read.${var.domain},comics.${var.domain},books.${var.domain}"


    "traefik.read.frontend.headers.SSLTemporaryRedirect"  = "true"

    "traefik.read.frontend.headers.STSSeconds"            = "2592000"