servers 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. ### This file specifies server-specific parameters,
  2. ### including HTTP proxy information, HTTP timeout settings,
  3. ### and authentication settings.
  4. ###
  5. ### The currently defined server options are:
  6. ### http-proxy-host Proxy host for HTTP connection
  7. ### http-proxy-port Port number of proxy host service
  8. ### http-proxy-username Username for auth to proxy service
  9. ### http-proxy-password Password for auth to proxy service
  10. ### http-proxy-exceptions List of sites that do not use proxy
  11. ### http-timeout Timeout for HTTP requests in seconds
  12. ### http-compression Whether to compress HTTP requests
  13. ### (yes/no/auto).
  14. ### http-max-connections Maximum number of parallel server
  15. ### connections to use for any given
  16. ### HTTP operation.
  17. ### http-chunked-requests Whether to use chunked transfer
  18. ### encoding for HTTP requests body.
  19. ### http-auth-types List of HTTP authentication types.
  20. ### ssl-authority-files List of files, each of a trusted CA
  21. ### ssl-trust-default-ca Trust the system 'default' CAs
  22. ### ssl-client-cert-file PKCS#12 format client certificate file
  23. ### ssl-client-cert-password Client Key password, if needed.
  24. ### ssl-pkcs11-provider Name of PKCS#11 provider to use.
  25. ### http-library Which library to use for http/https
  26. ### connections.
  27. ### http-bulk-updates Whether to request bulk update
  28. ### responses or to fetch each file
  29. ### in an individual request.
  30. ### store-passwords Specifies whether passwords used
  31. ### to authenticate against a
  32. ### Subversion server may be cached
  33. ### to disk in any way.
  34. ### store-ssl-client-cert-pp Specifies whether passphrase used
  35. ### to authenticate against a client
  36. ### certificate may be cached to disk
  37. ### in any way
  38. ### store-auth-creds Specifies whether any auth info
  39. ### (passwords, server certs, etc.)
  40. ### may be cached to disk.
  41. ### username Specifies the default username.
  42. ###
  43. ### Set store-passwords to 'no' to avoid storing new passwords on
  44. ### disk in any way, including in password stores. It defaults to
  45. ### 'yes', but Subversion will never save your password to disk in
  46. ### plaintext unless explicitly configured to do so.
  47. ###
  48. ### Set store-ssl-client-cert-pp to 'no' to avoid storing new ssl
  49. ### client certificate passphrases in the auth/ area of your
  50. ### config directory. It defaults to 'yes', but Subversion will
  51. ### never save your passphrase to disk in plaintext unless
  52. ### explicitly configured to do so.
  53. ###
  54. ### Set store-auth-creds to 'no' to avoid storing any new Subversion
  55. ### credentials in the auth/ area of your config directory.
  56. ### Note that this includes SSL server certificates.
  57. ### It defaults to 'yes'.
  58. ###
  59. ### Note that setting a 'store-*' option to 'no' only prevents
  60. ### saving of *new* passwords, passphrases or other credentials.
  61. ### It does not remove or invalidate existing stored credentials.
  62. ### To do that, see the 'svn auth --remove' command, or remove the
  63. ### cache files by hand as described in the Subversion book at
  64. ### http://svnbook.red-bean.com/nightly/en/svn.serverconfig.netmodel.html#svn.tour.initial.authn-cache-purge
  65. ###
  66. ### HTTP timeouts, if given, are specified in seconds. A timeout
  67. ### of 0, i.e. zero, causes a builtin default to be used.
  68. ###
  69. ### Most users will not need to explicitly set the http-library
  70. ### option, but valid values for the option include:
  71. ### 'serf': Serf-based module (Subversion 1.5 - present)
  72. ### Availability of these modules may depend on your specific
  73. ### Subversion distribution.
  74. ###
  75. ### The commented-out examples below are intended only to
  76. ### demonstrate how to use this file; any resemblance to actual
  77. ### servers, living or dead, is entirely coincidental.
  78. ### In the 'groups' section, the URL of the repository you're
  79. ### trying to access is matched against the patterns on the right.
  80. ### If a match is found, the server options are taken from the
  81. ### section with the corresponding name on the left.
  82. [groups]
  83. # group1 = *.collab.net
  84. # othergroup = repository.blarggitywhoomph.com
  85. # thirdgroup = *.example.com
  86. ### Information for the first group:
  87. # [group1]
  88. # http-proxy-host = proxy1.some-domain-name.com
  89. # http-proxy-port = 80
  90. # http-proxy-username = blah
  91. # http-proxy-password = doubleblah
  92. # http-timeout = 60
  93. # username = harry
  94. ### Information for the second group:
  95. # [othergroup]
  96. # http-proxy-host = proxy2.some-domain-name.com
  97. # http-proxy-port = 9000
  98. # No username and password for the proxy, so use the defaults below.
  99. ### You can set default parameters in the 'global' section.
  100. ### These parameters apply if no corresponding parameter is set in
  101. ### a specifically matched group as shown above. Thus, if you go
  102. ### through the same proxy server to reach every site on the
  103. ### Internet, you probably just want to put that server's
  104. ### information in the 'global' section and not bother with
  105. ### 'groups' or any other sections.
  106. ###
  107. ### Most people might want to configure password caching
  108. ### parameters here, but you can also configure them per server
  109. ### group (per-group settings override global settings).
  110. ###
  111. ### If you go through a proxy for all but a few sites, you can
  112. ### list those exceptions under 'http-proxy-exceptions'. This only
  113. ### overrides defaults, not explicitly matched server names.
  114. ###
  115. ### 'ssl-authority-files' is a semicolon-delimited list of files,
  116. ### each pointing to a PEM-encoded Certificate Authority (CA)
  117. ### SSL certificate. See details above for overriding security
  118. ### due to SSL.
  119. [global]
  120. # http-proxy-exceptions = *.exception.com, www.internal-site.org
  121. # http-proxy-host = defaultproxy.whatever.com
  122. # http-proxy-port = 7000
  123. # http-proxy-username = defaultusername
  124. # http-proxy-password = defaultpassword
  125. # http-compression = auto
  126. # No http-timeout, so just use the builtin default.
  127. # ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem
  128. #
  129. # Password / passphrase caching parameters:
  130. # store-passwords = no
  131. # store-ssl-client-cert-pp = no