Skip to content
This repository has been archived by the owner on Nov 19, 2023. It is now read-only.

Forward to IP no to a host and preserve host header #48

Open
Bedotech opened this issue Nov 17, 2016 · 1 comment
Open

Forward to IP no to a host and preserve host header #48

Bedotech opened this issue Nov 17, 2016 · 1 comment
Labels

Comments

@Bedotech
Copy link

Hi all,

is possibile forward all request to ip instead of URL?

@h2non
Copy link
Owner

h2non commented Nov 17, 2016

Sure, just do:

proxy.forward('http://192.168.0.1')

Technically, that's still an URL.

@h2non h2non added the question label Nov 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants