configure proxy for takahe
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ee5ea42d25
commit
76583d77e2
|
@ -3,5 +3,9 @@ kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: caddyconfig
|
name: caddyconfig
|
||||||
data:
|
data:
|
||||||
Caddyfile: "http://:8080 {\n\theader content-type \"application/jrd+json;
|
Caddyfile: |
|
||||||
charset=utf-8\"\n\trespond \"{\\\"subject\\\":\\\"acct:tobru@mstdn.social\\\",\\\"aliases\\\":[\\\"https://mstdn.social/@tobru\\\",\\\"https://mstdn.social/users/tobru\\\"],\\\"links\\\":[{\\\"rel\\\":\\\"http://webfinger.net/rel/profile-page\\\",\\\"type\\\":\\\"text/html\\\",\\\"href\\\":\\\"https://mstdn.social/@tobru\\\"},{\\\"rel\\\":\\\"self\\\",\\\"type\\\":\\\"application/activity+json\\\",\\\"href\\\":\\\"https://mstdn.social/users/tobru\\\"},{\\\"rel\\\":\\\"http://ostatus.org/schema/1.0/subscribe\\\",\\\"template\\\":\\\"https://mstdn.social/authorize_interaction?uri={uri}\\\"}]}\"\n}\n"
|
http://:8080 {
|
||||||
|
reverse_proxy https://social.tobru.ch {
|
||||||
|
header_up Host "social.tobru.ch"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -24,6 +24,20 @@ spec:
|
||||||
name: ghost
|
name: ghost
|
||||||
port:
|
port:
|
||||||
number: 8080
|
number: 8080
|
||||||
|
- path: /.well-known/nodeinfo
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: ghost
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
|
- path: /.well-known/host-meta
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: ghost
|
||||||
|
port:
|
||||||
|
number: 8080
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
|
|
Reference in a new issue