From 95674d23e86078311bd60664a84015095dbeb50c Mon Sep 17 00:00:00 2001 From: dreamer Date: Sat, 14 Mar 2026 08:40:13 +0100 Subject: [PATCH] allow using hotmixxx.com --- code/app.lua | 7 +++++++ docker-compose.yaml | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/code/app.lua b/code/app.lua index afc47e0..cfa3606 100644 --- a/code/app.lua +++ b/code/app.lua @@ -25,6 +25,13 @@ elseif string.find(ngx.var.host, "videohotmix.net") then css = "videohotmix.css", 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 page_titles = { name = "Local Test Archive", diff --git a/docker-compose.yaml b/docker-compose.yaml index 0061c85..0390398 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`) + - 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.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`) + - 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.tls.certresolver=myresolver