-h
: Print a list of supported command line options and exit.-listen <arg>
: Multiple -listen options may be specified. <arg>
is formated as x=address:port.http
: Non-securehttps
: The most secure algorithm available on the machine (typically TLS v1.2)ssl
: Less secure compatibility mode using ssl instead of tls encryption.tls
: Synonymous with https-servercpu <arg>
and -targetcpu <arg>
: Set the number of threads used for incomming requests from the client, and outgoing requests to remote targets, respectively. With PokerFace's NIO model, you do not need a high thread count. If you use these parameters it is recommended that you pass the number of cpu cores in your system.-files <arg>
: Filepath to a directory of static files.-target <arg>
: Specify a remote target proxy. Multiple target options may be specified.
‘arg’ is formated as requestPattern=targetUrl-trustany
: Ignore certificate identity errors from target servers.-keystore <arg>
: Filepath to the certificate keystore.-storepass <arg>
: The store password of the keystore.-keypass <arg>
: The key password of the keystore.-scripts <arg>
: Filepath for root scripts directory.-library <arg>
: Filepath to JavaScript library to be loaded into global context. Multiple library options may be specified.-watch
: Dynamically watch scripts directory for changes.-dynamicTargetScripting
: WARNING! This option allows scripts to redirect requests to any other remote server.-config <arg>
: Path to an XML configuration file allowing you to specify complex configurations for PokerFace.