migrated to v4

This commit is contained in:
Kasra Bigdeli
2020-08-16 19:24:26 -04:00
parent 2b5f8234fd
commit 43505a20e8
304 changed files with 6319 additions and 6986 deletions

View File

@@ -1,32 +0,0 @@
{
"captainVersion": "2",
"documentation": "Taken from https://github.com/caprover/nginx-redirect",
"displayName": "Nginx Redirect",
"description": "A simple nginx image preloaded with redirect config that allows you to redirect to another URL. Useful for domain alias creation.",
"isOfficial": true,
"dockerCompose": {
"version": "3.3",
"services": {
"$$cap_appname": {
"image": "caprover/nginx-redirect:latest",
"restart": "always",
"environment": {
"RETURN_LOCATION": "return 301 $$cap_redirect_url$request_uri;"
}
}
}
},
"instructions": {
"start": "This is a very simply redirect nginx image. It redirects all HTTP requests to the HTTP address that you define. It's useful when you want to redirect all traffic from www.example.com to example.com, see more details here: https://github.com/caprover/nginx-redirect",
"end": "Reverse redirect is deployed and available as $$cap_appname"
},
"variables": [
{
"id": "$$cap_redirect_url",
"label": "Redirect address",
"description": "For example use https://caprover.com to redirect all request to CapRover.",
"defaultValue": "https://caprover.com",
"validRegex": "/^(http:\\/\\/|https:\\/\\/)\\S*$/"
}
]
}