I recently had an issue with
testing a license on a flash program.
This flash program would only work when being accessed through certain
urls. For example it would only work on www.example.com or https://test.example.com but not on others.
Unfortunately the license I was
using had not added a test address I commonly use and the only addresses they
did add where secure addresses https….
Had it not been a secure
address I could just simple update my /etc/hosts file and point that particular
url to localhost 127.0.0.1. But that
was not what I had been given.
Here is my solution to this
problem using an nginx server.