30 lines
954 B
YAML
30 lines
954 B
YAML
http:
|
|
routers:
|
|
router-gitlab:
|
|
rule: Host(`git.theorangeone.net`)
|
|
service: service-gitlab
|
|
router-gitlab-registry:
|
|
rule: Host(`registry.git.theorangeone.net`)
|
|
service: service-gitlab
|
|
router-gitlab-pages:
|
|
rule: HostRegexp(`gitlab-pages.theorangeone.net`, `{subdomain:[a-z]+}.gitlab-pages.theorangeone.net`, `notes.theorangeone.net`)
|
|
service: service-gitlab-pages
|
|
router-slides:
|
|
rule: Host(`slides.jakehoward.tech`)
|
|
service: service-slides
|
|
services:
|
|
service-gitlab:
|
|
loadBalancer:
|
|
servers:
|
|
- url: https://{{ pve_hosts.gitlab.ip }}
|
|
service-gitlab-pages:
|
|
loadBalancer:
|
|
servers:
|
|
- url: http://{{ pve_hosts.gitlab.ip }}:8008
|
|
|
|
# HACK: GitLab doesn't support `_redirects` with domains in
|
|
service-slides:
|
|
loadBalancer:
|
|
passHostHeader: false
|
|
servers:
|
|
- url: https://slides.gitlab-pages.theorangeone.net
|