mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-07-18 14:56:01 +02:00
Rename to echoip-slatecave, AGPL License and README
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user