added netbird to caddy file
This commit is contained in:
@@ -67,6 +67,7 @@ auth.akanealw.com {
|
|||||||
# Add this block to your existing Caddyfile and reload Caddy
|
# Add this block to your existing Caddyfile and reload Caddy
|
||||||
# --------------------------------------------------
|
# --------------------------------------------------
|
||||||
netbird.akanealw.com {
|
netbird.akanealw.com {
|
||||||
|
import cloudflare
|
||||||
# Native gRPC (needs HTTP/2 cleartext to backend)
|
# Native gRPC (needs HTTP/2 cleartext to backend)
|
||||||
@grpc header Content-Type application/grpc*
|
@grpc header Content-Type application/grpc*
|
||||||
reverse_proxy @grpc h2c://192.168.1.31:8081
|
reverse_proxy @grpc h2c://192.168.1.31:8081
|
||||||
@@ -76,6 +77,7 @@ netbird.akanealw.com {
|
|||||||
reverse_proxy @backend 192.168.1.31:8081
|
reverse_proxy @backend 192.168.1.31:8081
|
||||||
|
|
||||||
# Dashboard (everything else)
|
# Dashboard (everything else)
|
||||||
|
import auth
|
||||||
reverse_proxy /* 192.168.1.31:8080
|
reverse_proxy /* 192.168.1.31:8080
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user