configure proxy for takahe
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ee5ea42d25
commit
76583d77e2
|
@ -3,5 +3,9 @@ kind: ConfigMap
|
|||
metadata:
|
||||
name: caddyconfig
|
||||
data:
|
||||
Caddyfile: "http://:8080 {\n\theader content-type \"application/jrd+json;
|
||||
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"
|
||||
Caddyfile: |
|
||||
http://:8080 {
|
||||
reverse_proxy https://social.tobru.ch {
|
||||
header_up Host "social.tobru.ch"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,6 +24,20 @@ spec:
|
|||
name: ghost
|
||||
port:
|
||||
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: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
|
|
Reference in New Issue