| 1 | # /etc/hgweb.config |
| 2 | # Serve wire protocol only; the HTML UI is never reachable |
| 3 | # because the web server sends only ?cmd= requests here. |
| 4 | |
| 5 | [paths] |
| 6 | # Serve every repo under /srv/hg at the matching URL path (** recurses). |
| 7 | / = /srv/hg/** |
| 8 | |
| 9 | [web] |
| 10 | # No pushing over HTTP (pushes happen over ssh). |
| 11 | allow-push = |
| 12 | # Don't offer tarball/zip downloads; hgweb generates them on the fly. |
| 13 | allow-archive = |