Setting up an https accessible git server on FreeBSD
Boris Samorodov
bsam at passap.ru
Mon Jan 29 13:21:56 UTC 2018
29.01.2018 04:10, David Mehler пишет:
> If anyone has a git server going on FreeBSD, accessible via http smart
> protocol https only, i'd appreciate knowing how you got it going? I'm
> wanting to make private repos accessible to myself and a select group
> of users invisible to everyone else.
I use www/gitea for git repositories. Nice and fast enough tool.
It listens at localhost only:
[...]
[server]
HTTP_ADDR = 127.0.0.1
HTTP_PORT = 3333
[...]
While for HTTPS I use www/nginx reverse proxy:
[...]
listen 443 ssl;
location / {
proxy_pass http://localhost:3333;
}
[...]
HTH
--
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
More information about the freebsd-questions
mailing list