add more domains on SSL
This commit is contained in:
parent
b745498004
commit
8bcb5b166f
|
@ -75,23 +75,30 @@ sans = [
|
||||||
"airsonic.in.bb8.fun",
|
"airsonic.in.bb8.fun",
|
||||||
"cadvisor.bb8.fun",
|
"cadvisor.bb8.fun",
|
||||||
"couchpotato.bb8.fun",
|
"couchpotato.bb8.fun",
|
||||||
|
"debug.in.bb8.fun",
|
||||||
"ebooks.bb8.fun",
|
"ebooks.bb8.fun",
|
||||||
"ebooks.in.bb8.fun",
|
"ebooks.in.bb8.fun",
|
||||||
"emby.bb8.fun",
|
"emby.bb8.fun",
|
||||||
"emby.in.bb8.fun",
|
"emby.in.bb8.fun",
|
||||||
"debug.in.bb8.fun",
|
|
||||||
"flexget.bb8.fun",
|
"flexget.bb8.fun",
|
||||||
"git.bb8.fun",
|
"git.bb8.fun",
|
||||||
"gitea.bb8.fun",
|
"gitea.bb8.fun",
|
||||||
|
"grafana.bb8.fun",
|
||||||
"headphones.bb8.fun",
|
"headphones.bb8.fun",
|
||||||
"home.bb8.fun",
|
"home.bb8.fun",
|
||||||
"home.in.bb8.fun",
|
"home.in.bb8.fun",
|
||||||
"library.bb8.fun",
|
"library.bb8.fun",
|
||||||
|
"luke.bb8.fun",
|
||||||
|
"monitoring.bb8.fun",
|
||||||
"muximux.bb8.fun",
|
"muximux.bb8.fun",
|
||||||
"muximux.in.bb8.fun",
|
"muximux.in.bb8.fun",
|
||||||
|
"pics.bb8.fun",
|
||||||
|
"pics.in.bb8.fun",
|
||||||
"read.bb8.fun",
|
"read.bb8.fun",
|
||||||
"read.in.bb8.fun",
|
"read.in.bb8.fun",
|
||||||
|
"rey.bb8.fun",
|
||||||
"scan.bb8.fun",
|
"scan.bb8.fun",
|
||||||
|
"tatooine.bb8.fun",
|
||||||
"traefik.bb8.fun",
|
"traefik.bb8.fun",
|
||||||
"transmission.bb8.fun",
|
"transmission.bb8.fun",
|
||||||
"wiki.bb8.fun"
|
"wiki.bb8.fun"
|
||||||
|
|
|
@ -28,7 +28,7 @@ resource "docker_container" "lychee" {
|
||||||
"traefik.frontend.headers.customFrameOptionsValue" = "${var.xfo_allow}"
|
"traefik.frontend.headers.customFrameOptionsValue" = "${var.xfo_allow}"
|
||||||
"traefik.frontend.auth.basic" = "${var.basic_auth}"
|
"traefik.frontend.auth.basic" = "${var.basic_auth}"
|
||||||
"traefik.frontend.headers.customResponseHeaders" = "${var.xpoweredby}"
|
"traefik.frontend.headers.customResponseHeaders" = "${var.xpoweredby}"
|
||||||
"traefik.frontend.rule" = "Host:airsonic.in.${var.domain},airsonic.${var.domain}"
|
"traefik.frontend.rule" = "Host:lychee.${var.domain},lychee.in.${var.domain}"
|
||||||
}
|
}
|
||||||
|
|
||||||
env = [
|
env = [
|
||||||
|
|
|
@ -3,20 +3,21 @@
|
||||||
# Create a Database
|
# Create a Database
|
||||||
resource "mysql_database" "lychee" {
|
resource "mysql_database" "lychee" {
|
||||||
name = "lychee"
|
name = "lychee"
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
prevent_destroy = true
|
prevent_destroy = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "mysql_user" "lychee" {
|
resource "mysql_user" "lychee" {
|
||||||
user = "lychee"
|
user = "lychee"
|
||||||
host = "${var.lychee_ip}"
|
host = "${var.lychee_ip}"
|
||||||
plaintext_password = "${var.mysql_lychee_password}"
|
plaintext_password = "${var.mysql_lychee_password}"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "mysql_grant" "lychee" {
|
resource "mysql_grant" "lychee" {
|
||||||
user = "${mysql_user.lychee.user}"
|
user = "${mysql_user.lychee.user}"
|
||||||
host = "${mysql_user.lychee.host}"
|
host = "${mysql_user.lychee.host}"
|
||||||
database = "${mysql_database.lychee.name}"
|
database = "${mysql_database.lychee.name}"
|
||||||
privileges = ["ALL"]
|
privileges = ["ALL"]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue