This repository was archived by the owner on Feb 2, 2024. It is now read-only.
  
  
  
  
Releases: fastify/fast-proxy
Releases · fastify/fast-proxy
Update project repository
Updated:
- Project repository links now point to the fastify organisation instead of jkyberneees.
 - Minor semantic documentation updates.
 
Fixed:
- Gateway path in npm run bench script was fixed.
 
Improved proxy headers management
- Fixes the host header management on proxy as reported in #6.
 - We also now support the x-forwarded-host header.
 - Dependency updates
 
Supporting optional request timeout configuration
Optional timeout option can be passed during proxy:
    gateway.all('/service/*', function (req, res) {
      proxy(req, res, req.url, {
        request: {
          timeout: 3000 // if target exceeds 3 seconds to respond, the gateway will timeout with 504 code
        }
      })
    })Supporting extended agent configurations
Allowing to pass down all http[s].Agent configuration options.
Updating deps
Merge pull request #2 from jkyberneees/updating-semver updating deps
Fix default body
let body = null
Updating git repo
Ref to new git repo: https://github.com/jkyberneees/fast-proxy