Rename to echoip-slatecave, AGPL License and README

This commit is contained in:
Slatian
2023-02-24 21:38:33 +01:00
parent 42fd9c0bca
commit c1cd66782f
7 changed files with 768 additions and 28 deletions

View File

@ -3,11 +3,11 @@
listen_on = "127.0.0.1:3000"
# What header your reverse proxy sets that contains the real ip-address
# Possible Values: Every Vaiation of SecureClientIpSource in the axum_client_ip package
# Possible Values: Every Variation of SecureClientIpSource in the axum_client_ip package
# https://docs.rs/axum-client-ip/latest/axum_client_ip/enum.SecureClientIpSource.html
#ip_header = "RightmostXForwardedFor"
ip_header = "RightmostXForwardedFor"
# When you don't want to use a proxy server:
ip_header = "ConnectInfo"
#ip_header = "ConnectInfo"
# Allow querying of private range ips
# enable if you want to use this service
@ -19,11 +19,12 @@ allow_private_ip_lookup = false
allow_forward_lookup = true
# Enable reverse lookup, make sure to configure the hidden_suffixes
# to contain your locally used domains, to prevent onformation leakage
allow_reverse_lookup = false
# to contain your locally used domains, to prevent information leakage
allow_reverse_lookup = true
# echoip-sltecave will pretend that domains
# that end with one of these suffixes don't exist
# both for forward and reverse lookup
hidden_suffixes = [".local", ".box"]
[geoip]