Fix IP-API

This commit is contained in:
卖女孩的小火柴
2023-07-03 10:22:05 +00:00
parent 99ae99b9f5
commit ab75e73d33
4 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ To take a simple and very common example, the service provider to provide you a
You can also test the exit IP by running the following command in the Agent server:
```shell
curl api.myip.la
curl https://ipapi.co/ip/
curl ip.sb
curl ip-api.com
```
@@ -28,7 +28,7 @@ If you still get iptables... etc. errors, then consider simply closing iptables
This issue may also be kernel related, try replacing the official kernel as well.
## Dashboard reboot failed: Invalid hostPort: nz_site_port etc.
Usually this does not occur, if it does, you can modify the configuration through the installation script.
Usually this does not occur, if it does, you can modify the configuration through the installation script or edit `/opt/nezha/dashboard/docker-compose.yaml` directly.
## Wrong Dashboard layout, CSS resources cannot be loaded
If the Dashboard page has an incorrect layout, the usual reason is that the CSS file is missing or cannot be loaded.
+2 -1
View File
@@ -14,7 +14,8 @@ Please make sure your path is `/oauth2/callback`, **all lowercase**.
## Dashboard errors after login
### http: named cookie not present
Clear your browser cookies and log in again, or change your browser.
1. Clear your browser cookies and log in again, or change your browser.
2. Check the callback address to ensure that your callback address is correct and that both **the port and protocol** are correct! The address from which the request is initiated needs to be in the same domain as the callback address, and the port, protocol, and domain name (or IP) all need to be consistent.
### lookup xxx
DNS resolution failure, in most cases, is due to iptables-related configuration changes.