magnetar/.dev/Caddyfile

33 lines
680 B
Caddyfile
Raw Normal View History

2023-07-07 19:22:30 +00:00
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*
}
@frontend {
path /favicon.ico /favicon.png /favicon.svg /manifest.json /api-doc /sw.js /static-assets* /client-assets* /assets* /twemoji* /url /fe-api*
2023-07-07 19:22:30 +00:00
}
reverse_proxy @render_html 127.0.0.1:4938
reverse_proxy @frontend 127.0.0.1:4938
2023-07-07 19:22:30 +00:00
reverse_proxy 127.0.0.1:4937
}