i want load google.com in iframe , and start funcunit test on that
but i have errors !
we have CORS protection , so i created reverse proxy with docker and nginx , and i set some header proxy
but also i have problem
1)i run nginx inside docker
2)then i config nginx.conf
3)and i run google reverse proxy successfully
i went to intellij idea and changed iframe via my google proxy server ip and port
and then i commented funcunit tests else just for one test
6)and finally i launched run test
i use nginx inside docker (my reverse proxy) :
- and inside the folder
- enter these instruction
- docker build -t nginx-google-docker-image-v1 .
after image build then need to run with step 4)
4)docker run --restart always -d -p 8001:8001/tcp -p 8081:8081/tcp -p 8086:8086/tcp -p 8886:8886/tcp --name nginx-google-docker nginx-google-docker-image-v1