Ubuntu搭建Mercurial环境
dog:~ $ cat hgweb.config [web] push_ssl = false allow_push = * encoding = utf-8 [paths] /hg = /home/ai/MainDaemon
cat /etc/nginx/sites-enabled/default
server {
location /hg/ {
proxy_pass http://127.0.0.1:8000;
}
}
echo "hg serve --webdir-conf hgweb.config" > start_hg.sh