Built-in PM

This commit is contained in:
2023-12-10 11:30:31 +08:00
parent ef0464234a
commit ec6d834aae
21 changed files with 187 additions and 82 deletions

1
test/benchmark/data/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/.output

View File

@ -0,0 +1,12 @@
name: Example Site
rules:
- host: ["localhost:8000"]
path: ["/"]
upstreams:
- id: example
name: Benchmarking Data
uri: http://localhost:3000
processes:
- id: nuxt-ssr
workdir: ../data
command: ["node", ".output/server/index.mjs"]

View File

@ -0,0 +1,26 @@
debug:
print_routes: false
hypertext:
administration_ports: []
administration_secured_ports: []
certificate:
administration_key: ./cert.key
administration_pem: ./cert.pem
key: ./cert.key
pem: ./cert.pem
limitation:
max_body_size: -1
max_qps: -1
ports:
- :8000
secured_ports: []
paths:
configs: ./config
performance:
request_logging: false
network_timeout: 3000
prefork: false
security:
administration_trusted_proxies:
- localhost
credential: e81f43f32d934271af6322e5376f5f59

View File

@ -1,20 +0,0 @@
{
"name": "Example Site",
"rules": [
{
"host": [
"localhost:8000"
],
"path": [
"/"
]
}
],
"upstreams": [
{
"id": "example",
"name": "Benchmarking Data",
"uri": "files://../data"
}
]
}

View File

@ -0,0 +1,8 @@
name: Example Site
rules:
- host: ["localhost:8000"]
path: ["/"]
upstreams:
- id: example
name: Benchmarking Data
uri: files://../data

View File

@ -1,20 +0,0 @@
{
"name": "Example Site",
"rules": [
{
"host": [
"localhost:8000"
],
"path": [
"/"
]
}
],
"upstreams": [
{
"id": "example",
"name": "Benchmarking Data",
"uri": "files://../data"
}
]
}

View File

@ -0,0 +1,8 @@
name: Example Site
rules:
- host: ["localhost:8000"]
path: ["/"]
upstreams:
- id: example
name: Benchmarking Data
uri: files://../data