style: Use string literals instead of u8s

This commit is contained in:
timedout authored and Ellis Git committed 2026-07-09 19:40:11 +00:00
1 parent 68d018bd37
commit 62730e861a
2 files changed
+19 -18

No files matched your search

+7 -7
View File
@@ -374,13 +374,13 @@ pub struct Config {
///
/// Takes any of the following options:
///
/// cf_connecting_ip - `Cf-Connecting-Ip` header
/// cloudfront_viewer_address - `CloudFront-Viewer-Address` header
/// fly_client_ip - `Fly-Client-IP` header
/// x_forwarded_for - rightmost value of the `X-Forwarded-For` header
/// true_client_ip - `True-Client-Ip` header
/// x_envoy_external_address - `X-Envoy-External-Address` header
/// x_real_ip - `X-Real-Ip` header
/// "cf_connecting_ip" - `Cf-Connecting-Ip` header
/// "cloudfront_viewer_address" - `CloudFront-Viewer-Address` header
/// "fly_client_ip" - `Fly-Client-IP` header
/// "x_forwarded_for" - rightmost value of the `X-Forwarded-For` header
/// "true_client_ip" - `True-Client-Ip` header
/// "x_envoy_external_address" - `X-Envoy-External-Address` header
/// "x_real_ip" - `X-Real-Ip` header
///
/// Only set this if you are certain only your reverse proxy
/// will send the expected header. There is no "is the connecting IP allowed