default gateway to 0.0.0.0 for web UI
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ server:
|
||||
# gateway to your tailnet via `tailscale serve`.
|
||||
tailscale:
|
||||
serve: false
|
||||
localhost: true
|
||||
localhost: false
|
||||
port: 18800
|
||||
# Maximum inbound HTTP request body size (bytes) for webhooks/Gmail push.
|
||||
max_request_body_bytes: 1048576
|
||||
|
||||
@@ -86,7 +86,7 @@ export class ConfigBuilder {
|
||||
this.config = {
|
||||
log_level: 'info',
|
||||
models: {},
|
||||
server: { port: 18800, localhost: true },
|
||||
server: { port: 18800, localhost: false },
|
||||
hooks: {
|
||||
confirm: [
|
||||
'shell.*',
|
||||
|
||||
@@ -109,7 +109,7 @@ const serverNodePolicySchema = z.object({
|
||||
|
||||
const serverSchema = z.object({
|
||||
tailscale: tailscaleSchema,
|
||||
localhost: z.boolean().default(true),
|
||||
localhost: z.boolean().default(false),
|
||||
port: z.number().default(18800),
|
||||
/** Static bearer token for gateway auth. If set, all connections must provide it. */
|
||||
token: z.string().optional(),
|
||||
|
||||
Reference in New Issue
Block a user