Title: 如何增加X-Forwarded-For · Issue #5 · feirpri/notes · GitHub
Open Graph Title: 如何增加X-Forwarded-For · Issue #5 · feirpri/notes
X Title: 如何增加X-Forwarded-For · Issue #5 · feirpri/notes
Description: 你好,我现在遇到了一个问题,�想请教一下。 在fakeServer中使用 req.socket.remoteAddress只能拿到127.0.0.1,在connect取clientRequest.socket.remoteAddress是能拿到正确的ip的的,那么怎么能在fakeServer中拿到这个ip呢,我想要代理https请求的同时,给请求的header增加一个X-Forwarded-For字段
Open Graph Description: 你好,我现在遇到了一个问题,�想请教一下。 在fakeServer中使用 req.socket.remoteAddress只能拿到127.0.0.1,在connect取clientRequest.socket.remoteAddress是能拿到正确的ip的的,那么怎么能在fakeServer中拿到这个ip呢,我想要代理https请求的同时,给请求的header增加一个X-Forwarded-...
X Description: 你好,我现在遇到了一个问题,�想请教一下。 在fakeServer中使用 req.socket.remoteAddress只能拿到127.0.0.1,在connect取clientRequest.socket.remoteAddress是能拿到正确的ip的的,那么怎么能在fakeServer中拿到这个ip呢,我想要代理https请求的同时,给请求的header增加一个X-Forwarded-...
Opengraph URL: https://github.com/feirpri/notes/issues/5
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"如何增加X-Forwarded-For","articleBody":"你好,我现在遇到了一个问题,\b想请教一下。\r\n在fakeServer中使用 req.socket.remoteAddress只能拿到127.0.0.1,在connect取clientRequest.socket.remoteAddress是能拿到正确的ip的的,那么怎么能在fakeServer中拿到这个ip呢,我想要代理https请求的同时,给请求的header增加一个X-Forwarded-For字段","author":{"url":"https://github.com/tangkai123456","@type":"Person","name":"tangkai123456"},"datePublished":"2020-11-06T09:54:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5/notes/issues/5"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7be3d0a4-4d1e-985c-4c63-4bc6bb6cf708 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC1A:1451C3:4F1807:6C5B38:6A584C5A |
| html-safe-nonce | c2e749a681bce9ed6414c2d28641cf9ae061dca26e5b93617cbc8cc789ed6987 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzFBOjE0NTFDMzo0RjE4MDc6NkM1QjM4OjZBNTg0QzVBIiwidmlzaXRvcl9pZCI6IjcxMTM5Nzg0NTQxMzI0MTE0ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fe5066373a0e3ffc6219e2f4479c88bbe9dc0ab6145fa2f28328f0076641e0ae |
| hovercard-subject-tag | issue:737625444 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feirpri/notes/5/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c0f0587cbaacd3f0e0d1daf1c6d26f004f26f193494b244f4460006ab242cd84/feirpri/notes/issues/5 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c0f0587cbaacd3f0e0d1daf1c6d26f004f26f193494b244f4460006ab242cd84/feirpri/notes/issues/5 |
| og:image:alt | 你好,我现在遇到了一个问题,�想请教一下。 在fakeServer中使用 req.socket.remoteAddress只能拿到127.0.0.1,在connect取clientRequest.socket.remoteAddress是能拿到正确的ip的的,那么怎么能在fakeServer中拿到这个ip呢,我想要代理https请求的同时,给请求的header增加一个X-Forwarded-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tangkai123456 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/feirpri/notes git https://github.com/feirpri/notes.git |
| octolytics-dimension-user_id | 10584450 |
| octolytics-dimension-user_login | feirpri |
| octolytics-dimension-repository_id | 176330306 |
| octolytics-dimension-repository_nwo | feirpri/notes |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 176330306 |
| octolytics-dimension-repository_network_root_nwo | feirpri/notes |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width