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