You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
-
# Proxy Schemeand Host detection middleware
1
+
# Proxy Scheme, Host and Port detection middleware
2
2
3
3
[![Build status][Master image]][Master]
4
4
5
-
PSR-7 Middleware that determines the schemeand host from the 'X-Forwarded-Proto'and 'X-Forwarded-Host' headers and updates the Request's Uri object.
5
+
PSR-7 Middleware that determines the scheme, host and port from the 'X-Forwarded-Proto', 'X-Forwarded-Host' and 'X-Forwarded-Port' headers and updates the Request's Uri object.
6
6
7
7
You can set a list of proxies that are trusted as the second constructor parameter. If this list is set, then the proxy headers will only be checked if the `REMOTE_ADDR` is in the trusted list.
"description": "PSR-7 Middleware that determines the schemeand host from the 'X-Forwarded-Proto'and 'X-Forwarded-Host' headers and updates the Request's Uri object.",
3
+
"description": "PSR-7 Middleware that determines the scheme, host and port from the 'X-Forwarded-Proto', 'X-Forwarded-Host' and 'X-Forwarded-Port' headers and updates the Request's Uri object.",
0 commit comments