comparison mercurial/help/config.txt @ 37009:5890e5872f36

hgweb: allow defining Server response header for HTTP server By default, the string contains the Python version. Server operators may want to change this. Because we like deterministic tests, we change the test harness to always set this value to a known string. Various globs over the server header have now been removed. # no-check-commit because we add version_string() Differential Revision: https://phab.mercurial-scm.org/D2840
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 13 Mar 2018 09:45:56 -0700
parents 0c431d3129c4
children 2d965bfeb8f6
comparison
equal deleted inserted replaced
37008:16203c6079e7 37009:5890e5872f36
2525 required, refreshing may negatively impact performance. 2525 required, refreshing may negatively impact performance.
2526 2526
2527 Values less than or equal to 0 always refresh. 2527 Values less than or equal to 0 always refresh.
2528 (default: 20) 2528 (default: 20)
2529 2529
2530 ``server-header``
2531 Value for HTTP ``Server`` response header.
2532
2530 ``staticurl`` 2533 ``staticurl``
2531 Base URL to use for static files. If unset, static files (e.g. the 2534 Base URL to use for static files. If unset, static files (e.g. the
2532 hgicon.png favicon) will be served by the CGI script itself. Use 2535 hgicon.png favicon) will be served by the CGI script itself. Use
2533 this setting to serve them directly with the HTTP server. 2536 this setting to serve them directly with the HTTP server.
2534 Example: ``http://hgserver/static/``. 2537 Example: ``http://hgserver/static/``.