Spaces:
Paused
Paused
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -15,8 +15,7 @@ cat > "$OPENCLAW_CONFIG_PATH" <<EOF
|
|
| 15 |
"auth": {
|
| 16 |
"mode": "trusted-proxy",
|
| 17 |
"trustedProxy": {
|
| 18 |
-
"
|
| 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 --
|
|
|
|
| 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}"
|