33 lines
667 B
Caddyfile
33 lines
667 B
Caddyfile
|
nattyarch.local {
|
||
|
log {
|
||
|
|
||
|
}
|
||
|
|
||
|
handle /.well-known/webfinger {
|
||
|
reverse_proxy 127.0.0.1:4939
|
||
|
}
|
||
|
|
||
|
handle /.well-known/nodeinfo {
|
||
|
reverse_proxy 127.0.0.1:4939
|
||
|
}
|
||
|
|
||
|
handle /nodeinfo/* {
|
||
|
reverse_proxy 127.0.0.1:4939
|
||
|
}
|
||
|
|
||
|
@render_html {
|
||
|
not path /api* /proxy* /files* /avatar* /identicon*
|
||
|
header Accept text/html*
|
||
|
}
|
||
|
|
||
|
@static {
|
||
|
path /favicon.ico /favicon.png /favicon.svg /manifest.json /api-doc /sw.js /static-assets* /client-assets* /assets* /twemoji* /url
|
||
|
}
|
||
|
|
||
|
reverse_proxy @render_html 127.0.0.1:4938
|
||
|
reverse_proxy @static 127.0.0.1:4938
|
||
|
|
||
|
reverse_proxy 127.0.0.1:4937
|
||
|
}
|
||
|
|