allow using hotmixxx.com
This commit is contained in:
parent
ba883a7b1a
commit
95674d23e8
@ -25,6 +25,13 @@ elseif string.find(ngx.var.host, "videohotmix.net") then
|
|||||||
css = "videohotmix.css",
|
css = "videohotmix.css",
|
||||||
header = "videohotmix.net-logo.png"
|
header = "videohotmix.net-logo.png"
|
||||||
}
|
}
|
||||||
|
elseif string.find(ngx.var.host, "hotmixxx.com") then
|
||||||
|
page_titles = {
|
||||||
|
name = "Hotmix Video Archive",
|
||||||
|
url = "videohotmix.net",
|
||||||
|
css = "videohotmix.css",
|
||||||
|
header = "videohotmix.net-logo.png"
|
||||||
|
}
|
||||||
else
|
else
|
||||||
page_titles = {
|
page_titles = {
|
||||||
name = "Local Test Archive",
|
name = "Local Test Archive",
|
||||||
|
|||||||
@ -8,12 +8,12 @@ services:
|
|||||||
- /data:/mnt/data:ro
|
- /data:/mnt/data:ro
|
||||||
labels:
|
labels:
|
||||||
- traefik.enable=true
|
- traefik.enable=true
|
||||||
- traefik.http.routers.hotmixes.rule=Host(`videohotmix.net`) || Host(`www.videohotmix.net`) || Host(`panamaracing.club`)
|
- traefik.http.routers.hotmixes.rule=Host(`videohotmix.net`) || Host(`www.videohotmix.net`) || Host(`panamaracing.club`) || Host('www.hotmixxx.com') || Host('hotmixxx.com')
|
||||||
- traefik.http.routers.hotmixes.entrypoints=web
|
- traefik.http.routers.hotmixes.entrypoints=web
|
||||||
- traefik.http.routers.hotmixes.middlewares=redirect-https-hotmixes
|
- traefik.http.routers.hotmixes.middlewares=redirect-https-hotmixes
|
||||||
- traefik.http.middlewares.redirect-https-hotmixes.redirectscheme.scheme=https
|
- traefik.http.middlewares.redirect-https-hotmixes.redirectscheme.scheme=https
|
||||||
|
|
||||||
- traefik.http.routers.hotmixes_ssl.rule=Host(`videohotmix.net`) || Host(`www.videohotmix.net`) || Host(`panamaracing.club`)
|
- traefik.http.routers.hotmixes_ssl.rule=Host(`videohotmix.net`) || Host(`www.videohotmix.net`) || Host(`panamaracing.club`) || Host('www.hotmixxx.com') || Host('hotmixxx.com')
|
||||||
- traefik.http.routers.hotmixes_ssl.entrypoints=websecure
|
- traefik.http.routers.hotmixes_ssl.entrypoints=websecure
|
||||||
- traefik.http.routers.hotmixes_ssl.tls.certresolver=myresolver
|
- traefik.http.routers.hotmixes_ssl.tls.certresolver=myresolver
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user