Skip to content

Easy way to demonstrate/test javascript/html/css products on foreign pages.

Notifications You must be signed in to change notification settings

quorak/openresty-script-injection-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

openresty-script-injection-proxy

Discription

You want to demonstrate your javascript code to a customer? Setup this Proxy and have you Code injected into his site. Uncomplicated Demonstration.

Build Server from Dockerfile

cd ps-server-smartgateway
docker build -t openresty-script-injection-proxy -f Dockerfile_build.

Start Server for Dev Environment

docker run --rm -it \
      --name my-app-dev8 \
      -v "$(pwd)/nginx/conf":/opt/openresty/nginx/conf \
      -v "$(pwd)/nginx/logs":/opt/openresty/nginx/logs \
      -p 80:80 \
      openresty-script-injection-proxy "$@"

start editing nginx/conf/nginx.conf

Build Deployable

docker build -t openresty-script-injection-proxy/dev:0.0.1 .

Deploy your Container

docker run --rm -it \
      -p 80:80 \
      openresty-script-injection-proxy/dev:0.0.1

open http://localhost/?demo_domain=http://www.example.com

About

Easy way to demonstrate/test javascript/html/css products on foreign pages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages