read
This guide is for OSX machines
Install Homebrew http://brew.sh/
Install NGINX with homebrew:
brew install nginx
Open
/usr/local/etc/nginx/nginx.conf
with your favourite editor and add the server configuration:server { listen 80; # donĀ“t use *.local on mac - its reserved server_name www.mywebsite.mobile; location / { proxy_pass http://www.mywebsite.dev/; } }
Start nginx via
sudo nginx
Optionally: test if your config is OK by typing
sudo nginx -t
Go to the settings of your mobile device and enter the IP of your local machine as HTTP proxy
Open
www.mywebsite.mobile
(or whatever you have entered above)