diff options
author | Adnan Maolood <me@adnano.co> | 2022-12-02 07:52:45 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2022-12-19 13:16:45 +0100 |
commit | 3e52362f36718fc10b7a79c771d3b16de17a0c1b (patch) | |
tree | 8453d426fbbbb9f7b8466da7dc4975abce5775ce /git.sr.ht | |
parent | 5e3b25c91b85507d152f17800921ae9179516247 (diff) | |
download | sr.ht-docs-3e52362f36718fc10b7a79c771d3b16de17a0c1b.tar.gz |
git.sr.ht/configuration.md: Add /usr/libexec note
On some systems, like Alpine Linux, git-http-backend is in /usr/libexec,
not /usr/lib.
Diffstat (limited to 'git.sr.ht')
-rw-r--r-- | git.sr.ht/configuration.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/git.sr.ht/configuration.md b/git.sr.ht/configuration.md index d8c45f6..1cd0dc5 100644 --- a/git.sr.ht/configuration.md +++ b/git.sr.ht/configuration.md @@ -94,6 +94,10 @@ location ~ ^/([^/]+)/([^/]+)/(HEAD|info/refs|objects/info/.*|git-upload-pack).*$ gzip off; } ``` +<div class="alert alert-info"> + <strong>Note:</strong> On some systems (e.g. Alpine Linux), `SCRIPT_FILENAME` + should be set to `/usr/libexec/git-core/git-http-backend`. +</div> It is important that you set up the `/authorize` endpoint to enforce the privacy of private repositories. @@ -102,7 +106,7 @@ If you don't have `/run/fcgiwrap.sock` on your system, you'll need to install the `fcgiwrap` package. <div class="alert alert-info"> - <strong>Note:</strong> On some systems, the script might be called + <strong>Note:</strong> On some systems, the socket might be called `/run/fcgiwrap.socket`, `/run/fcgiwrap/fcgiwrap.sock`, or something else entirely. Consult your distribution's documentation. </div> |