Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 749 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 749 Bytes

Nginx Reverse & Forward Proxy

An Nginx reverse & forward proxy for reaching a local resource (e.g. a web app) on a dev machine and remote resources from a test machine (such as a phone).

Install Nginx

Install Nginx

Configure Nginx

Set the user (and user group on Mac brew installation), e.g.

user me staff;

Comment existing server block lines in nginx.conf but make sure configurations are still loaded.

Open topics

proxy.conf works for reaching local apps on a developer machine from a testing machine (e.g. a phone). But it only allows forward-proxying http requests. It will fail with ERR_TUNNEL_CONNECTION_FAILED on https requests. The stream block inside nginx.conf is a work in progress to reach remote resources.