♻️ RoadSign v2 #6
@ -14,6 +14,7 @@ host = ["localhost:4321"]
|
||||
path = ["/"]
|
||||
[[locations.destinations]]
|
||||
id = "example-warden-destination"
|
||||
uri = "http://localhost:4321"
|
||||
|
||||
[[applications]]
|
||||
id = "example-warden-app"
|
||||
@ -21,10 +22,10 @@ workdir = "test/data/warden"
|
||||
command = ["node", "dist/server/entry.mjs"]
|
||||
environment = ["PUBLIC_CMS=https://smartsheep.studio"]
|
||||
|
||||
# [[locations]]
|
||||
# id = "example-location"
|
||||
# host = ["localhost:8000"]
|
||||
# path = ["/"]
|
||||
# [[locations.destinations]]
|
||||
# id = "example-destination"
|
||||
# uri = "files://test/data"
|
||||
[[locations]]
|
||||
id = "example-static"
|
||||
host = ["localhost:8000"]
|
||||
path = ["/roadsign"]
|
||||
[[locations.destinations]]
|
||||
id = "example-static-destination"
|
||||
uri = "files://test/data"
|
9
test/roadsign-spa/config/example.toml
Normal file
9
test/roadsign-spa/config/example.toml
Normal file
@ -0,0 +1,9 @@
|
||||
id = "example"
|
||||
|
||||
[[locations]]
|
||||
id = "example-location"
|
||||
host = ["localhost:8000"]
|
||||
path = ["/"]
|
||||
[[locations.destinations]]
|
||||
id = "example-destination"
|
||||
uri = "files://../data/spa?fallback=index.html"
|
@ -1,8 +0,0 @@
|
||||
name: Example Site
|
||||
rules:
|
||||
- host: ["localhost:8000"]
|
||||
path: ["/"]
|
||||
upstreams:
|
||||
- id: example
|
||||
name: Benchmarking Data
|
||||
uri: files://../data/spa?fallback=index.html
|
15
test/roadsign-ssr/config/example.toml
Normal file
15
test/roadsign-ssr/config/example.toml
Normal file
@ -0,0 +1,15 @@
|
||||
id = "example-region"
|
||||
|
||||
[[locations]]
|
||||
id = "example-warden"
|
||||
host = ["localhost:8000"]
|
||||
path = ["/"]
|
||||
[[locations.destinations]]
|
||||
id = "example-warden-destination"
|
||||
uri = "http://localhost:4321"
|
||||
|
||||
[[applications]]
|
||||
id = "example-warden-app"
|
||||
workdir = "../data/warden"
|
||||
command = ["node", "dist/server/entry.mjs"]
|
||||
environment = ["PUBLIC_CMS=https://smartsheep.studio"]
|
@ -1,12 +0,0 @@
|
||||
name: Example Site
|
||||
rules:
|
||||
- host: ["localhost:8000"]
|
||||
path: ["/"]
|
||||
upstreams:
|
||||
- id: example
|
||||
name: Benchmarking Data
|
||||
uri: http://localhost:3000
|
||||
processes:
|
||||
- id: nuxt-ssr
|
||||
workdir: ../data/ssr
|
||||
command: ["node", ".output/server/index.mjs"]
|
9
test/roadsign-with-prefork/config/example.toml
Normal file
9
test/roadsign-with-prefork/config/example.toml
Normal file
@ -0,0 +1,9 @@
|
||||
id = "example"
|
||||
|
||||
[[locations]]
|
||||
id = "example-location"
|
||||
host = ["localhost:8000"]
|
||||
path = ["/"]
|
||||
[[locations.destinations]]
|
||||
id = "example-destination"
|
||||
uri = "files://../data/spa?fallback=index.html"
|
@ -1,8 +0,0 @@
|
||||
name: Example Site
|
||||
rules:
|
||||
- host: ["localhost:8000"]
|
||||
path: ["/"]
|
||||
upstreams:
|
||||
- id: example
|
||||
name: Benchmarking Data
|
||||
uri: files://../data
|
Loading…
Reference in New Issue
Block a user