From cfa915142c2bbff8d1572488b6343e56dfef9b64 Mon Sep 17 00:00:00 2001 From: Raul Benencia Date: Tue, 12 Jan 2021 16:57:26 -0800 Subject: Segregate BindAddr and BaseURL --- docs/shoelaces.8.scd | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs/shoelaces.8.scd') diff --git a/docs/shoelaces.8.scd b/docs/shoelaces.8.scd index ec38101..492b452 100644 --- a/docs/shoelaces.8.scd +++ b/docs/shoelaces.8.scd @@ -10,6 +10,15 @@ shoelaces - automated server bootstrapping # OPTIONS +*-base-url* + Optional parameter. Specifies the base address that will be used when + generating URLs. + If it's not specified, the value of "-bind-addr" will be used. + +*-bind-addr* + The address where Shoelaces will listen for requests. Defaults to + "localhost:8081". + *-config* Specifies a config file. All the following options can be specified in the config. @@ -20,10 +29,6 @@ shoelaces - automated server bootstrapping *-debug* Enables debug mode. -*-domain* - Specifies the address where the server is going to listen. - Defaults to "localhost". - *-env-dir* Specifies a directory with environment overrides. Refer to the README of the project for more information about environment overrides. @@ -32,10 +37,6 @@ shoelaces - automated server bootstrapping Specifies a mappings YAML file. Defaults to "mappings.yaml". Refer to the README of the project for more information about mappings. -*-port* - Specifies the port where the server is going to listen. - Defaults to 8080. - *-static-dir* Specifies a custom web directory with static files. Defaults to "web". @@ -73,8 +74,7 @@ specified. Here is example config file: ``` -port=8081 -domain=localhost +bind-addr=localhost:8081 data-dir=/etc/shoelaces/data-dir/ template-extension=.slc mappings-file=mappings.yaml -- cgit v1.2.3