diff --git a/src/proxy/middleware/request/onproxyreq/strip-headers.ts b/src/proxy/middleware/request/onproxyreq/strip-headers.ts index 4c39224..30083f6 100644 --- a/src/proxy/middleware/request/onproxyreq/strip-headers.ts +++ b/src/proxy/middleware/request/onproxyreq/strip-headers.ts @@ -7,10 +7,15 @@ import { HPMRequestCallback } from "../index"; export const stripHeaders: HPMRequestCallback = (proxyReq) => { proxyReq.setHeader("origin", ""); proxyReq.setHeader("referer", ""); - + proxyReq.removeHeader("tailscale-user-login"); + proxyReq.removeHeader("tailscale-user-name"); + proxyReq.removeHeader("tailscale-headers-info"); + proxyReq.removeHeader("tailscale-user-profile-pic") proxyReq.removeHeader("cf-connecting-ip"); proxyReq.removeHeader("forwarded"); proxyReq.removeHeader("true-client-ip"); proxyReq.removeHeader("x-forwarded-for"); + proxyReq.removeHeader("x-forwarded-host"); + proxyReq.removeHeader("x-forwarded-proto"); proxyReq.removeHeader("x-real-ip"); };