Skip to content
This repository has been archived by the owner on Aug 7, 2021. It is now read-only.

⏪ Reverse proxy for Nginx + Docker with script injection

Notifications You must be signed in to change notification settings

AnandChowdhary/reverse-proxy

Repository files navigation

⏪ Reverse proxy

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.

💻 Getting started

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.

📄 License

MIT © Koj

Koj

An open source project by Koj.
Furnish your home in style, for as low as CHF175/month →