openclawbuddy commited on
Commit
321fd4b
·
verified ·
1 Parent(s): 999c488

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +2 -3
start.sh CHANGED
@@ -15,8 +15,7 @@ cat > "$OPENCLAW_CONFIG_PATH" <<EOF
15
  "auth": {
16
  "mode": "trusted-proxy",
17
  "trustedProxy": {
18
- "allowedIps": ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"],
19
- "header": "x-forwarded-for"
20
  }
21
  },
22
  "controlUi": {
@@ -45,4 +44,4 @@ echo "=== config contents ==="
45
  cat "$OPENCLAW_CONFIG_PATH"
46
  echo "========================"
47
 
48
- exec openclaw gateway --auth trusted-proxy --token "${OPENCLAW_GATEWAY_TOKEN}"
 
15
  "auth": {
16
  "mode": "trusted-proxy",
17
  "trustedProxy": {
18
+ "userHeader": "x-forwarded-for"
 
19
  }
20
  },
21
  "controlUi": {
 
44
  cat "$OPENCLAW_CONFIG_PATH"
45
  echo "========================"
46
 
47
+ exec openclaw gateway --token "${OPENCLAW_GATEWAY_TOKEN}"