X-Git-Url: https://git.kengrimes.com/?p=henge%2Fkiak.git;a=blobdiff_plain;f=usage;h=c138a5cf51bd6b97f0f97675238cf91c387111ce;hp=d740aca8aa9acd8a38e88bed617bd23bbff69c23;hb=refs%2Fheads%2Fmaster;hpb=4818299175c62e9ce3179814b0823e24ecb470a8 diff --git a/usage b/usage index d740aca..c138a5c 100644 --- a/usage +++ b/usage @@ -10,17 +10,15 @@ CONFIG can override any of the previous file's settings. (/etc/strapp.conf:~/.strapp/strapp.conf:./strapp.conf) - config settings are overridden by command line opts - except where noted -j, --client-js=path Path to the client Strapp code (./client.js) -J, --host-js=path Path to the host Strapp code (./host.js) - -T, --no-tls=bool Don't use HTTPS and WSS protocols (false) - - makes 'ca-cert' and 'ca-key' unnecessary - -C, --ca-cert=path Accessible location of the CA Cert (../certs/cert.pem) -K, --ca-key=path Accessible location of the CA Key (../certs/key.pem) - -p, --port=number The local port to bind HTTPS listener to (2443) - -i, --index=path File serviced at the root domain (./index.html) + -p, --port=number The local port to bind HTTP/S listener to (2443) + -d, --file-dir=path Path to the directory that will serve files over HTTP + if a client's requested route doesn't exist and can't + be created ROUTING -b, --bind=[string:path[,string:path]]... @@ -40,7 +38,7 @@ ROUTING window which will be launched on execution (nil) - enables optional electron dependency - -d, --dedicated=string Route all incoming connections to this route (nil) + -D, --dedicated=string Route all incoming connections to this route (nil) - can be used in conjunction with '-e' for single-user e.g. Create a dedicated electron listener $ strapp -e default -d default @@ -49,6 +47,9 @@ ROUTING be established, so no remote hosts may exist COMPATIBILITY + --no-tls=bool Don't use HTTPS and WSS protocols (false) + - makes 'ca-cert' and 'ca-key' unnecessary + --legacy-socket=bool Use Socket.io compatibility layer to enable long-polling and AJAX fallbacks (false) - enables optional socket.io dependency