在HA上运行,连接frps正常,访问域名报错:400: Bad Request
waxgourd-ha opened this issue · 6 comments
waxgourd-ha commented
huxiaoxu2019 commented
@waxgourd-ha would you please be more specific for this issue, I'm happy to fix that~
wileon994 commented
wileon994 commented
huxiaoxu2019 commented
Thanks for the detailed information, I tried to reproduce the error 400: Bad Request
, and found that you need to add this configuration in your configuration.yaml
shown as the picture below. I believe that should be mentioned in the Installation
section on Readme.
You can edit that configuration by File Editor add-on
http:
use_x_forwarded_for: true
trusted_proxies:
- 0.0.0.0/0
It's better to change 0.0.0.0/0
to your proxy server IP.
huxiaoxu2019 commented
⬆️ @wileon994 cc @waxgourd-ha
wileon994 commented
Sorry to miss the instructions, it works well right now.
Thanks for your attention!