37 lines
755 B
Caddyfile
37 lines
755 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
|
|
}
|
|
|
|
handle /mag/* {
|
|
reverse_proxy 127.0.0.1:4939
|
|
}
|
|
|
|
@render_html {
|
|
not path /api* /proxy* /files* /avatar* /identicon* /streaming
|
|
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*
|
|
}
|
|
|
|
reverse_proxy @render_html 127.0.0.1:4938
|
|
reverse_proxy @frontend 127.0.0.1:4938
|
|
|
|
reverse_proxy 127.0.0.1:4937
|
|
}
|
|
|