comparison mercurial/help/config.txt @ 39792:ff0060d2a099

help: document web.static config Spotted by check-config.py.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 23 Sep 2018 17:01:26 +0900
parents 4bd6e444c76f
children 6509fcec830c
comparison
equal deleted inserted replaced
39791:1dd82ecb869b 39792:ff0060d2a099
2624 (default: 20) 2624 (default: 20)
2625 2625
2626 ``server-header`` 2626 ``server-header``
2627 Value for HTTP ``Server`` response header. 2627 Value for HTTP ``Server`` response header.
2628 2628
2629 ``static``
2630 Directory where static files are served from.
2631
2629 ``staticurl`` 2632 ``staticurl``
2630 Base URL to use for static files. If unset, static files (e.g. the 2633 Base URL to use for static files. If unset, static files (e.g. the
2631 hgicon.png favicon) will be served by the CGI script itself. Use 2634 hgicon.png favicon) will be served by the CGI script itself. Use
2632 this setting to serve them directly with the HTTP server. 2635 this setting to serve them directly with the HTTP server.
2633 Example: ``http://hgserver/static/``. 2636 Example: ``http://hgserver/static/``.