diff --git a/code/app.lua b/code/app.lua index 13a02ae..9ee8d7a 100644 --- a/code/app.lua +++ b/code/app.lua @@ -35,6 +35,15 @@ elseif string.find(ngx.var.host, "hotmixxx.com") then header = "videohotmix.net-logo.png", feed = "hotmixxx" } + +elseif string.find(ngx.var.host, "hotmixes.net") then + page_titles = { + name = "Hotmix Video Archive", + url = "videohotmix.net", + css = "videohotmix.css", + header = "videohotmix.net-logo.png", + feed = "hotmixes" + } else page_titles = { name = "Local Test Archive", diff --git a/docker-compose.yaml b/docker-compose.yaml index d607a23..6c2155b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -8,12 +8,12 @@ services: - /data:/mnt/data:ro labels: - traefik.enable=true - - traefik.http.routers.hotmixes.rule=Host(`videohotmix.net`) || Host(`www.videohotmix.net`) || Host(`panamaracing.club`) || Host(`hotmixxx.com`) + - traefik.http.routers.hotmixes.rule=Host(`videohotmix.net`) || Host(`www.videohotmix.net`) || Host(`panamaracing.club`) || Host(`hotmixxx.com`) || Host(`hotmixes.net`) || Host(`www.hotmixes.net`) - traefik.http.routers.hotmixes.entrypoints=web - traefik.http.routers.hotmixes.middlewares=redirect-https-hotmixes - 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`) || Host(`hotmixxx.com`) + - traefik.http.routers.hotmixes_ssl.rule=Host(`videohotmix.net`) || Host(`www.videohotmix.net`) || Host(`panamaracing.club`) || Host(`hotmixxx.com`) || Host(`hotmixes.net`) || Host(`www.hotmixes.net`) - traefik.http.routers.hotmixes_ssl.entrypoints=websecure - traefik.http.routers.hotmixes_ssl.tls.certresolver=myresolver