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

https://www.cnblogs.com/pengcz/p/5646744.html

posted @ 2024-09-19 13:55  yafeile  阅读(6)  评论(0编辑  收藏  举报