house/config/common.pr

20 lines
521 B
Plaintext

; 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
<MainDataspace $ds>
<bind "syndicate" #x"" $ds>
? <nginx-command ?command> [
<require-service <daemon nginx>>
<daemon nginx $command>
]