added netbird to caddy file
This commit is contained in:
19
Caddyfile
19
Caddyfile
@@ -60,6 +60,25 @@ auth.akanealw.com {
|
||||
reverse_proxy authelia:9091
|
||||
}
|
||||
|
||||
# --------------------------------------------------
|
||||
# NetBird Caddyfile Snippet
|
||||
# Generated by getting-started.sh
|
||||
#
|
||||
# Add this block to your existing Caddyfile and reload Caddy
|
||||
# --------------------------------------------------
|
||||
netbird.akanealw.com {
|
||||
# Native gRPC (needs HTTP/2 cleartext to backend)
|
||||
@grpc header Content-Type application/grpc*
|
||||
reverse_proxy @grpc h2c://192.168.1.31:8081
|
||||
|
||||
# Combined server paths (relay, signal, management, OAuth2)
|
||||
@backend path /relay* /ws-proxy/* /api/* /oauth2/*
|
||||
reverse_proxy @backend 192.168.1.31:8081
|
||||
|
||||
# Dashboard (everything else)
|
||||
reverse_proxy /* 192.168.1.31:8080
|
||||
}
|
||||
|
||||
# --------------------------------------------------
|
||||
# *.akanealw.com subdomains
|
||||
# --------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user