Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2018 16:21:43 +0300
From:      Boris Samorodov <bsam@passap.ru>
To:        David Mehler <dave.mehler@gmail.com>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Setting up an https accessible git server on FreeBSD
Message-ID:  <62e7858b-b2ba-ce1b-6150-c302dcfe7dd1@passap.ru>
In-Reply-To: <CAPORhP7A=rYAW%2BtBDWo5YUOAz8TS6KcfWNCk9X2Z4FSt=qbVig@mail.gmail.com>
References:  <CAPORhP7A=rYAW%2BtBDWo5YUOAz8TS6KcfWNCk9X2Z4FSt=qbVig@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62e7858b-b2ba-ce1b-6150-c302dcfe7dd1>