Skip to content

Commit b1c6009

Browse files
authored
Fix headers priority
1 parent 2188eec commit b1c6009

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ Priority list:
4848

4949
1. User specified
5050
2. `X-Forwarded-For` (de-facto standard header)
51-
3. `CF-Connecting-IP` (Cloudflare)
52-
4. `Fastly-Client-IP` (Fastly)
53-
5. `X-Real-IP` (Apache)
54-
6. `X-Client-IP` (Nginx)
51+
3. `X-Real-IP` (Apache)
52+
4. `X-Client-IP` (Nginx)
53+
5. `CF-Connecting-IP` (Cloudflare)
54+
6. `Fastly-Client-IP` (Fastly)
5555
7. `X-Cluster-Client-IP` (GCP)
5656
8. `X-Forwarded` (RFC 7239)
5757
9. `Forwarded-For` (RFC 7239)

0 commit comments

Comments
 (0)