Skip to content

Commit 656c28c

Browse files
committed
fixup
1 parent 362ab70 commit 656c28c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

examples/proxy/proxy.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ function getHeaders ({
213213
`proto=${socket.encrypted ? 'https' : 'http'}`,
214214
`host=${printIp(authority || host || '')}`
215215
].join(';'))
216+
} else {
217+
result.push('forwarded', forwarded)
216218
}
217219

218220
if (httpVersion && proxyName) {

0 commit comments

Comments
 (0)