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

@ -30,7 +30,7 @@ endpoints:
responses:
-
status: 200
content: '{"data":[{"id":3,"name":"Amara Jaskolski","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"},{"id":4,"name":"Christy Kohler","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
content: '{"data":[{"id":3,"name":"Kattie Haley","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"},{"id":4,"name":"Kailyn Kiehn","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}],"links":{"first":"\/?page=1","last":"\/?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"&laquo; Previous","active":false},{"url":"\/?page=1","label":"1","active":true},{"url":null,"label":"Next &raquo;","active":false}],"path":"\/","per_page":25,"to":2,"total":2}}'
headers: []
description: ''
custom: []
@ -38,7 +38,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 5v83ePa1dah4bcE6VgfZDk6'
- 'Bearer 6D5kabfhdagZcP61VEe48v3'
controller: null
method: null
route: null
@ -69,19 +69,19 @@ endpoints:
name: name
description: 'The name of the project.'
required: true
example: temporibus
example: excepturi
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
name: temporibus
name: excepturi
fileParameters: []
responses:
-
status: 200
content: '{"id":3,"name":"Prof. Enrico Wehner Sr.","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}'
content: '{"id":3,"name":"Dayne White","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}'
headers: []
description: ''
custom: []
@ -89,7 +89,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer Zk61vE43aagDbc5V68edhPf'
- 'Bearer 1Vafe4abk6gvZE5dD36h8Pc'
controller: null
method: null
route: null
@ -132,7 +132,7 @@ endpoints:
responses:
-
status: 200
content: '{"id":3,"name":"Zoie Feest","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}'
content: '{"id":3,"name":"Cheyenne Ankunding III","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}'
headers: []
description: ''
custom: []
@ -140,7 +140,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 6vfDgb435d8cPeV1EZa6hak'
- 'Bearer Pa3cd5ZeE1gbh68D46vafVk'
controller: null
method: null
route: null
@ -182,19 +182,19 @@ endpoints:
name: name
description: 'The name of the project.'
required: true
example: sit
example: mollitia
type: string
enumValues: []
exampleWasSpecified: false
nullable: false
custom: []
cleanBodyParameters:
name: sit
name: mollitia
fileParameters: []
responses:
-
status: 200
content: '{"id":3,"name":"Mr. Jayme Kuhlman DVM","created_at":"2025-03-29T20:43:56.000000Z","updated_at":"2025-03-29T20:43:56.000000Z"}'
content: '{"id":3,"name":"Susanna Stark","created_at":"2025-03-31T15:27:17.000000Z","updated_at":"2025-03-31T15:27:17.000000Z"}'
headers: []
description: ''
custom: []
@ -202,7 +202,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer 6gkaZVh3P5b81cf6ev4EdDa'
- 'Bearer 83Dfg6h4cdPev1abak5ZE6V'
controller: null
method: null
route: null
@ -253,7 +253,7 @@ endpoints:
auth:
- headers
- Authorization
- 'Bearer bfeg4DZ566cvdP813kVhEaa'
- 'Bearer Z84d51aDbhgk36fEPvV6eac'
controller: null
method: null
route: null