house/config/common.pr

20 lines
521 B
Plaintext
Raw Normal View History

2023-01-05 10:26:06 +00:00
; Start the server with
;
; syndicate-server -c ./config
;
;---------------------------------------------------------------------------
; Expose the gatekeeper on port 9001:
<require-service <relay-listener <tcp "0.0.0.0" 9001> $gatekeeper>>
; Create a dataspace entity, and register it with the gatekeeper with name `"syndicate"` and an
; empty secret key:
let ?ds = dataspace
2023-01-05 14:47:27 +00:00
<MainDataspace $ds>
2023-01-05 10:26:06 +00:00
<bind "syndicate" #x"" $ds>
? <nginx-command ?command> [
<require-service <daemon nginx>>
<daemon nginx $command>
]