Simford.Dong
commited on
Commit
·
a3cab57
1
Parent(s):
8c590d4
Fix: trust all proxies and dangerouslyDisableDeviceAuth for HF Spaces compatibility
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -49,13 +49,14 @@ if [ ! -f /root/.openclaw/openclaw.json ]; then\n\
|
|
| 49 |
"mode": "local",\n\
|
| 50 |
"bind": "lan",\n\
|
| 51 |
"port": 7860,\n\
|
| 52 |
-
"trustedProxies": ["
|
| 53 |
"auth": {\n\
|
| 54 |
"mode": "password",\n\
|
| 55 |
"password": "${SETUP_PASSWORD}"\n\
|
| 56 |
},\n\
|
| 57 |
"controlUi": {\n\
|
| 58 |
-
"allowInsecureAuth": true
|
|
|
|
| 59 |
}\n\
|
| 60 |
},\n\
|
| 61 |
"agents": {\n\
|
|
|
|
| 49 |
"mode": "local",\n\
|
| 50 |
"bind": "lan",\n\
|
| 51 |
"port": 7860,\n\
|
| 52 |
+
"trustedProxies": ["0.0.0.0/0"],\n\
|
| 53 |
"auth": {\n\
|
| 54 |
"mode": "password",\n\
|
| 55 |
"password": "${SETUP_PASSWORD}"\n\
|
| 56 |
},\n\
|
| 57 |
"controlUi": {\n\
|
| 58 |
+
"allowInsecureAuth": true,\n\
|
| 59 |
+
"dangerouslyDisableDeviceAuth": true\n\
|
| 60 |
}\n\
|
| 61 |
},\n\
|
| 62 |
"agents": {\n\
|