exampleConfig.js 609 B

12345678910111213141516171819202122232425
  1. module.exports = {
  2. // specify additional options here, especially http(s)
  3. // see https://nodejs.org/api/tls.html#tls_tls_connect_options_callback for specifics
  4. ca: [
  5. /* strings or binaries */
  6. ],
  7. cert: [
  8. /* strings or binaries */
  9. ],
  10. key: [
  11. /* strings or binaries */
  12. ],
  13. passphrase: 'yourpassphrase',
  14. auth: {
  15. username: 'yourusername',
  16. password: 'yourpassword'
  17. },
  18. strictSSL: false,
  19. followRedirect: false,
  20. headers: {
  21. 'x-custom': 'headers'
  22. },
  23. // optional default resources if not specified in command args
  24. resources: ['http://foo/bar', 'http://cat/dog']
  25. };