https://github.com/metastable-void/getip-rs
https://github.com/metastable-void/getip-rs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/metastable-void/getip-rs
- Owner: metastable-void
- License: mpl-2.0
- Created: 2023-01-12T09:05:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-03T19:29:32.000Z (7 months ago)
- Last Synced: 2025-02-10T12:46:01.918Z (3 months ago)
- Language: Rust
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# getip-rs
NOTE: This is intended to be used behind a reverse proxy.
## Nginx
```
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-Port $remote_port;
proxy_set_header Host $host;
}
```