Compare commits
No commits in common. "440851a305b1a588a772531380d41f3ee2f402e4" and "450250c4198db3930226fadc96accfe5f21e629e" have entirely different histories.
440851a305
...
450250c419
@ -1,5 +1,16 @@
|
|||||||
id = "example-region"
|
id = "example-region"
|
||||||
|
|
||||||
|
[[locations]]
|
||||||
|
id = "example-sse"
|
||||||
|
host = ["localhost:8000"]
|
||||||
|
path = ["/sse"]
|
||||||
|
[[locations.destinations]]
|
||||||
|
id = "example-sse-destination"
|
||||||
|
uri = "http://localhost:5000?sse=enable"
|
||||||
|
[[locations.transformers]]
|
||||||
|
type = "replacePath"
|
||||||
|
options = { pattern = "/sse", value = "" }
|
||||||
|
|
||||||
[[locations]]
|
[[locations]]
|
||||||
id = "example-websocket"
|
id = "example-websocket"
|
||||||
host = ["localhost:8000"]
|
host = ["localhost:8000"]
|
||||||
@ -9,23 +20,9 @@ id = "example-websocket-destination"
|
|||||||
uri = "http://localhost:8765"
|
uri = "http://localhost:8765"
|
||||||
|
|
||||||
[[locations]]
|
[[locations]]
|
||||||
id = "example-warden"
|
id = "example-location"
|
||||||
host = ["localhost:4321"]
|
host = ["localhost:8000"]
|
||||||
path = ["/"]
|
path = ["/"]
|
||||||
[[locations.destinations]]
|
[[locations.destinations]]
|
||||||
id = "example-warden-destination"
|
id = "example-destination"
|
||||||
uri = "http://localhost:4321"
|
|
||||||
|
|
||||||
[[applications]]
|
|
||||||
id = "example-warden-app"
|
|
||||||
workdir = "test/data/warden"
|
|
||||||
command = ["node", "dist/server/entry.mjs"]
|
|
||||||
environment = ["PUBLIC_CMS=https://smartsheep.studio"]
|
|
||||||
|
|
||||||
[[locations]]
|
|
||||||
id = "example-static"
|
|
||||||
host = ["localhost:8000"]
|
|
||||||
path = ["/roadsign"]
|
|
||||||
[[locations.destinations]]
|
|
||||||
id = "example-static-destination"
|
|
||||||
uri = "files://test/data"
|
uri = "files://test/data"
|
4
test/data/.gitignore
vendored
4
test/data/.gitignore
vendored
@ -1 +1,3 @@
|
|||||||
/warden
|
/ssr
|
||||||
|
/spa
|
||||||
|
/congress
|
@ -1,9 +0,0 @@
|
|||||||
id = "example"
|
|
||||||
|
|
||||||
[[locations]]
|
|
||||||
id = "example-location"
|
|
||||||
host = ["localhost:8000"]
|
|
||||||
path = ["/"]
|
|
||||||
[[locations.destinations]]
|
|
||||||
id = "example-destination"
|
|
||||||
uri = "files://../data/spa?fallback=index.html"
|
|
8
test/roadsign-spa/config/example.yaml
Normal file
8
test/roadsign-spa/config/example.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
name: Example Site
|
||||||
|
rules:
|
||||||
|
- host: ["localhost:8000"]
|
||||||
|
path: ["/"]
|
||||||
|
upstreams:
|
||||||
|
- id: example
|
||||||
|
name: Benchmarking Data
|
||||||
|
uri: files://../data/spa?fallback=index.html
|
@ -1,15 +0,0 @@
|
|||||||
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"]
|
|
12
test/roadsign-ssr/config/example.yaml
Normal file
12
test/roadsign-ssr/config/example.yaml
Normal 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/ssr
|
||||||
|
command: ["node", ".output/server/index.mjs"]
|
@ -1,9 +0,0 @@
|
|||||||
id = "example"
|
|
||||||
|
|
||||||
[[locations]]
|
|
||||||
id = "example-location"
|
|
||||||
host = ["localhost:8000"]
|
|
||||||
path = ["/"]
|
|
||||||
[[locations.destinations]]
|
|
||||||
id = "example-destination"
|
|
||||||
uri = "files://../data/spa?fallback=index.html"
|
|
8
test/roadsign-with-prefork/config/example.yaml
Normal file
8
test/roadsign-with-prefork/config/example.yaml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
name: Example Site
|
||||||
|
rules:
|
||||||
|
- host: ["localhost:8000"]
|
||||||
|
path: ["/"]
|
||||||
|
upstreams:
|
||||||
|
- id: example
|
||||||
|
name: Benchmarking Data
|
||||||
|
uri: files://../data
|
Loading…
x
Reference in New Issue
Block a user