Move lure-web to lure.sh

This commit is contained in:
Elara 2023-10-07 11:44:48 -07:00
parent 3ffd995ccf
commit 31d921f140
3 changed files with 15 additions and 10 deletions

View File

@ -4,7 +4,7 @@ steps:
image: gitea.elara.ws/elara6331/node image: gitea.elara.ws/elara6331/node
directory: frontend directory: frontend
environment: environment:
- LURE_WEB_API_URL=https://api.lure.elara.ws - LURE_WEB_API_URL=https://api.lure.sh
commands: commands:
- npm i - npm i
- npm run build - npm run build

View File

@ -35,7 +35,7 @@
<p class="subtitle"> <p class="subtitle">
Paste this into your Linux terminal and the install script will set everything up for you Paste this into your Linux terminal and the install script will set everything up for you
</p> </p>
<Highlight language={bash} code="curl -fsSL lure.elara.ws/install | bash" /> <Highlight language={bash} code="curl -fsSL lure.sh/install | bash" />
<p> <p>
LURE is also available on the AUR as <a LURE is also available on the AUR as <a
href="https://aur.archlinux.org/packages/linux-user-repository-bin" href="https://aur.archlinux.org/packages/linux-user-repository-bin"

View File

@ -35,7 +35,7 @@ job "lure-web" {
port = "api" port = "api"
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.lure-backend.rule=Host(`api.lure.elara.ws`)", "traefik.http.routers.lure-backend.rule=Host(`api.lure.sh`)",
"traefik.http.routers.lure-backend.tls.certresolver=letsencrypt" "traefik.http.routers.lure-backend.tls.certresolver=letsencrypt"
] ]
@ -63,7 +63,12 @@ job "lure-web" {
port = "http" port = "http"
tags = [ tags = [
"traefik.enable=true", "traefik.enable=true",
"traefik.http.routers.lure-frontend.rule=Host(`lure.elara.ws`)", "traefik.http.middlewares.lure-redir.redirectRegex.regex=^https://(www\\.lure\\.sh|lure\\.elara\\.ws)",
"traefik.http.middlewares.lure-redir.redirectRegex.replacement=https://lure.sh",
"traefik.http.middlewares.lure-redir.redirectRegex.permanent=true",
"traefik.http.routers.lure-frontend.rule=Host(`lure.sh`) || Host(`www.lure.sh`) || Host(`lure.elara.ws`)",
"traefik.http.routers.lure-frontend.middlewares=lure-redir",
"traefik.http.routers.lure-frontend.tls.certresolver=letsencrypt", "traefik.http.routers.lure-frontend.tls.certresolver=letsencrypt",
] ]
} }