Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to proxy HTTPS requests to local static files #123

Closed
loory opened this issue Aug 12, 2019 · 1 comment
Closed

Unable to proxy HTTPS requests to local static files #123

loory opened this issue Aug 12, 2019 · 1 comment
Labels

Comments

@loory
Copy link

loory commented Aug 12, 2019

Our original requirement was to proxy some HTTPS requests to local static files, but after testing, the configuration local location rule was invalid.
Does this module support configuring location rules to map local directories?
Use environment: nginx 1.14.2 + rewrite path

@chobits
Copy link
Owner

chobits commented Aug 13, 2019

Does this module support configuring location rules to map local directories?

No. Because:

  1. The CONNECT request does not include URI. This request only tells proxy_connect module where the backend server is (backend server host or ip address).
  2. The raw stream, which is proxied in the CONNECT tunnel, will not be parsed.

Note that this module is used to create 4-layer TCP tunnel, there is no way to get someting about 7 layer information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants