Add site redirects (#552)

* feat(redirects): add redirects to sites

* chore(style): fixed coding style issues

* style: fix php-stan docblocks

* style: pint cleanup

* tests: fixed redirect test suite

* feat: vhosts include additional configs

* fix: use exact location matching

* - add enums
- use queues
- use vhost rather than separate conf files
- vhost formatter
- cleanup

* generate docs

---------

Co-authored-by: Saeed Vaziry <mr.saeedvaziry@gmail.com>
This commit is contained in:
Jamie Wood
2025-03-31 16:30:57 +01:00
committed by GitHub
parent 7882d2022c
commit f483f7fdca
53 changed files with 6944 additions and 4495 deletions

View File

@ -60,7 +60,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer PahVdEb56Z3f14kDgc68aev'
- 'Bearer 46fadkVc1vP5Ea8hg3bZeD6'
controller: null
method: null
route: null
@ -113,7 +113,7 @@ endpoints:
name: command
description: ''
required: true
example: qui
example: sit
type: string
enumValues: []
exampleWasSpecified: false
@ -123,7 +123,7 @@ endpoints:
name: user
description: ''
required: true
example: vito
example: root
type: string
enumValues:
- root
@ -142,8 +142,8 @@ endpoints:
nullable: false
custom: []
cleanBodyParameters:
command: qui
user: vito
command: sit
user: root
frequency: '* * * * *'
fileParameters: []
responses:
@ -157,7 +157,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer agkPEVc3h6D1d6a8evfZb54'
- 'Bearer eaEVDZ1ka5v4hf6Pgcd386b'
controller: null
method: null
route: null
@ -204,7 +204,7 @@ endpoints:
name: cronJob_id
description: 'The ID of the cronJob.'
required: true
example: 17
example: 13
type: integer
enumValues: []
exampleWasSpecified: false
@ -213,7 +213,7 @@ endpoints:
cleanUrlParameters:
project_id: 1
server_id: 29
cronJob_id: 17
cronJob_id: 13
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -230,7 +230,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer b518EePkVcdhDvZaf6643ga'
- 'Bearer gZkc1Vh568badDefE64vPa3'
controller: null
method: null
route: null
@ -277,7 +277,7 @@ endpoints:
name: cronJob_id
description: 'The ID of the cronJob.'
required: true
example: 11
example: 16
type: integer
enumValues: []
exampleWasSpecified: false
@ -286,7 +286,7 @@ endpoints:
cleanUrlParameters:
project_id: 1
server_id: 29
cronJob_id: 11
cronJob_id: 16
queryParameters: []
cleanQueryParameters: []
bodyParameters: []
@ -303,7 +303,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 3cak566dDhPvV8eZafg4bE1'
- 'Bearer PceD65b61vaV8Eg3a4dkfhZ'
controller: null
method: null
route: null