diff options
| author | Kasra Bigdeli <[email protected]> | 2019-04-12 07:13:51 -0700 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2019-04-12 07:13:51 -0700 |
| commit | a62a8e7cdd40fa449ea5f47d137aff8823965b76 (patch) | |
| tree | d85864cea66202cf86ae051d7882f050c9ae0630 | |
| parent | 5c97672c669959515d83d37f733ae7ca503796d9 (diff) | |
| download | caprover-one-click-apps-a62a8e7cdd40fa449ea5f47d137aff8823965b76.tar.gz caprover-one-click-apps-a62a8e7cdd40fa449ea5f47d137aff8823965b76.zip | |
Added reverse proxy image
| -rw-r--r-- | public/v1/apps/nginx-reverse-proxy.json | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/public/v1/apps/nginx-reverse-proxy.json b/public/v1/apps/nginx-reverse-proxy.json new file mode 100644 index 0000000..19654e1 --- /dev/null +++ b/public/v1/apps/nginx-reverse-proxy.json @@ -0,0 +1,28 @@ +{ + "captainVersion": "1", + "documentation": "Taken from https://github.com/caprover/nginx-reverse-proxy", + "dockerCompose": { + "version": "3.3", + "services": { + "$$cap_appname": { + "image": "caprover/nginx-reverse-proxy:latest", + "restart": "always", + "environment": { + "UPSTREAM_HTTP_ADDRESS": "$$UPSTREAM_HTTP_ADDRESS" + } + } + } + }, + "instructions": { + "start": "This is a very simply reverse proxy image. It forwards all HTTP requests to the HTTP address that you define.", + "end": "Reverse Proxy is deployed and available as $$cap_appname" + }, + "variables": [{ + "id": "$$UPSTREAM_HTTP_ADDRESS", + "label": "Upstream address", + "description": "For example use https://caprover.com to forward all request to CapRover. If you're forwarding http requests to a CapRover internal app use http://srv-captain--yourappnamehere", + "defaultValue": "", + "validRegex": "/^(http:\\/\\/|https:\\/\\/)\\S*$/" + }] + +}
\ No newline at end of file |
