A very simple and fast reverse proxy for Nginx + Docker with custom JavaScript injection. It's largely based on caprover/nginx-reverse-proxy with custom script injection.
To use with Caprover:
Create a new app with the name "reverse-proxy" and add GitHub repository details. The captain-definition
file will take over from there.
Use with Docker:
docker run -p 1234:80 --env UPSTREAM_HTTP_ADDRESS='https://example.com' --env SCRIPT_URL='https://example.com/script.js' kojhub/reverse-proxy
Then, http://localhost:1234 will show you https://example.com.
An open source project by Koj.
Furnish your home in style, for as low as CHF175/month →