feat: add source request log (#71)

Co-authored-by: shenyuning <[email protected]>
Co-authored-by: sxueck <[email protected]>
This commit is contained in:
SXueckShen
2021-07-01 15:15:33 +02:00
committed by GitHub
co-authored by shenyuning sxueck
parent 099479a894
commit 9a4b378b32
6 changed files with 310 additions and 62 deletions
+13
View File
@@ -74,6 +74,19 @@ The `allowed_*` properties are optional, the default value for each of them will
1. Use `withCredentials = true` in javascript.
2. Use the `username:password@host` syntax.
### Reverse Proxy Service
When you use a reverse proxy implementation like `Nginx` or `Apache`, please note the following fields to avoid causing `502` errors
```text
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
}
```
## License
MIT © [Henrique Dias](https://hacdias.com)