Skip to main content

fossil director

Project description

Fossil Director

Fossil-director is an HTTP server used to host multiple Fossil repositories, based on the hostname.

The server is meant to run behind nginx or other reverse proxy. Fossil-director will inspect the incoming HTTP Host: header and dispatch to the configured fossil repository.

Installation

(Requires Python >= 3.8)

pip install fossil-director

Configuration

A configuration .ini is required. At minimum, define a hostname and path to the fossil repository:

[example.com]
repo = /path/to/repo.fossil

Each virtual host is a new section. Here are all of the options:

[foo.org]
repo = /other/path.fossil
repolist = false                  # if repo is a directory, set this to true to serve 
                                  # a directory index of fossil files
baseurl = http://foo.org/fossil/  # base url
args = --nodelay --acme           # extra arguments to the `fossil http` command
redirect_root = /some/other/path  # redirect requests for / to the given URI

By default, the server runs on port 7000. Here are the server options:

[server]
host = 127.0.0.1
port = 7000
fossil_cmd = /usr/local/bin/fossil  # path to fossil executable

Running

fossil-director /path/to/config.ini

Here's an example systemd service

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fossil_director-1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fossil_director-1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file fossil_director-1.0.tar.gz.

File metadata

  • Download URL: fossil_director-1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for fossil_director-1.0.tar.gz
Algorithm Hash digest
SHA256 0288e9d060f7d8801bc70188fe94dc0e15bb19c76ec8ff0ea5ce98c522c62cf6
MD5 1fb70934ef9dfbb228e33900ce27e1c8
BLAKE2b-256 aae98e1744ea4c4fb8c78518751753ea6caa9f610a1926f0fb3976c61572093b

See more details on using hashes here.

File details

Details for the file fossil_director-1.0-py3-none-any.whl.

File metadata

  • Download URL: fossil_director-1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for fossil_director-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1dc40ca8d859a277c3e3e543ccd6691a48df107cc2bd7e062ecf6cef00b77d7
MD5 4048ef022702017f0c0066d9413d6723
BLAKE2b-256 491201e0c19599c9863d2a0839c14f46066912ee8c21fc84d0340745e3bdd510

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page