mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 05:06:53 +00:00
style: Use string literals instead of u8s
This commit is contained in:
1 parent
68d018bd37
commit
62730e861a
2 files changed
+19
-18
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user