feat: add ability to disable specific routes (#119)

This commit is contained in:
arcanis authored and GitHub committed 2023-12-15 14:34:03 +02:00
1 parent c54b14b833
commit e784032bc6
19 files changed
+128 -21

No files matched your search

+1
View File
@@ -129,6 +129,7 @@ Web server settings. If any of ``host``/``port`` is not set, web integration wil
* ``index_url`` - full url of the repository index page, string, optional.
* ``max_body_size`` - max body size in bytes to be validated for archive upload, integer, optional. If not set, validation will be disabled.
* ``port`` - port to bind, integer, optional.
* ``service_only`` - disable status routes (including logs), boolean, optional, default ``no``.
* ``static_path`` - path to directory with static files, string, required.
* ``templates`` - path to templates directories, space separated list of strings, required.
* ``unix_socket`` - path to the listening unix socket, string, optional. If set, server will create the socket on the specified address which can (and will) be used by application. Note, that unlike usual host/port configuration, unix socket allows to perform requests without authorization.