A Node based http(s) proxy that can be configured to point to Akamai staging environments without overiding the host file of your machine.
Maintained by Akhil Jayaprakash @ Akamai Technologies Twitter
npm install -g akamai-staging-proxy
akamai-staging-proxy
The server is now running on localhost:5050
This extension helps you securely send traffic over to the node server running locally. This combination allows for both HTTP and HTTPS traffic
Click here to download the chrome extension.
Enter multiple hostname staging-hostname combination into the separated by a comma For example:
- For single hostname & staging hostname combination enter : www.foo.com=www.foo.com.edgekey-staging.net
Notice the equals to "=" sign that separates the hostname you wish to send over to the staging environment.
- For multiple hostnames & staging hostnames combination enter : www.foo.com=www.foo.com.edgekey-staging.net,static.foo.com=127.0.0.1:9550
If you have a particular port you wish to send the traffic to you may do so by mentioning the port as part of the settings within the chrome extension.
Now all your browser traffic is being proxies via the Akamai-staging-proxy server that you have running locally
Note: You can configure proxy settings for incognito windows as well. In order to do that you will need to first allow the extension to access incognito window
Tweet at me here if you like the extension
Additional Notes:
- If you are trying to use the chrome extension along with the Akamai Sandbox, then forward your hostname of interest to the sandbox by adding the following instruction "www.foo.com=127.0.0.1:9550" where 127.0.0.1 is the host IP address where the sandbox client is running and the port 9550 is the sandbox client port
- You can always revert back your Chrome browser's proxy settings by selecting "Use the system's proxy settings" within the google proxy extension
- You can keep the node server running if you wish, but if you may wish to stop it anytime by clicking on CRTL-C
- Chrome Extension code from Mike West @ google
- Node HTTP server based on Node Proxy Server Charlie Robbins, Jarrett Cruger & the Contributors.