Skip to content

Commit

Permalink
dev: define sites
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsk committed Jul 24, 2022
1 parent 217fe05 commit 7ca6ab3
Show file tree
Hide file tree
Showing 11 changed files with 140 additions and 0 deletions.
9 changes: 9 additions & 0 deletions traefik/dynamic/helpmehire.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
http:
routers:
helpmehire:
rule: Host(`helpmehire.pro`, `www.helpmehire.pro`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-parked
9 changes: 9 additions & 0 deletions traefik/dynamic/jointo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
http:
routers:
jointo:
rule: Host(`jointo.space`, `www.jointo.space`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-parked
15 changes: 15 additions & 0 deletions traefik/dynamic/letsbuytogether.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
http:
routers:
letsbuytogether:
rule: Host(`letsbuytogether.ru`, `www.letsbuytogether.ru`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-letsbuytogether

middlewares:
redirect-letsbuytogether:
redirectRegex:
regex: ^https?://.*/(.*)
replacement: https://kupitevmeste.ru/${1}
9 changes: 9 additions & 0 deletions traefik/dynamic/lifeos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
http:
routers:
lifeos:
rule: Host(`lifeos.company`, `www.lifeos.company`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-parked
9 changes: 9 additions & 0 deletions traefik/dynamic/octolab.net.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
http:
routers:
octolab:
rule: Host(`octolab.net`, `www.octolab.net`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-parked
14 changes: 14 additions & 0 deletions traefik/dynamic/octolab.org.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
http:
routers:
octolab:
rule: Host(
`octolab.org`,
`www.octolab.org`,
`blog.octolab.org`,
`idea.octolab.org`,
)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-github
14 changes: 14 additions & 0 deletions traefik/dynamic/octolab.ru.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
http:
routers:
octolab:
rule: Host(
`octolab.ru`,
`www.octolab.ru`,
`blog.octolab.ru`,
`idea.octolab.ru`,
)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-github
9 changes: 9 additions & 0 deletions traefik/dynamic/pleasereviewit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
http:
routers:
pleasereviewit:
rule: Host(`pleasereviewit.dev`, `www.pleasereviewit.dev`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-parked
15 changes: 15 additions & 0 deletions traefik/dynamic/samigullin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
http:
routers:
samigullin:
rule: Host(`samigullin.info`, `www.samigullin.info`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-samigullin

middlewares:
redirect-samigullin:
redirectRegex:
regex: ^https?://.*/(.*)
replacement: https://kamil.samigullin.info/${1}
9 changes: 9 additions & 0 deletions traefik/dynamic/sparkle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
http:
routers:
sparkle:
rule: Host(`sparkle.wiki`, `www.sparkle.wiki`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-parked
28 changes: 28 additions & 0 deletions traefik/dynamic/tact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
http:
routers:
tact:
rule: Host(`tact.run`, `www.tact.run`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-tact

tact-cloud:
rule: Host(`cloud.tact.run`)
service: github
tls:
certResolver: letsencrypt
middlewares:
- redirect-tact-cloud

middlewares:
redirect-tact:
redirectRegex:
regex: .*
replacement: https://app.tact.run/

redirect-tact-cloud:
redirectRegex:
regex: .*
replacement: https://kamilsk.cloud.okteto.net/

0 comments on commit 7ca6ab3

Please sign in to comment.