Commit graph

7 commits

Author SHA1 Message Date
Felix Niederwanger 03cb62aba7
Add timeouts
Adds read and write timeout configuration settings and allows to
configure a maximum acceptable header size.
2023-06-06 16:33:00 +02:00
Felix Niederwanger 121ab40b02
Add possibility for priviledge drop
Adds the `uid` and `gid` settings in the main configuration file, which
allows weblug to run under a unprivileged user account. This comes with
the limitation, that unless the program runs as root, custom webhook
`uid/gid` settings are not possible.
2023-06-05 17:00:30 +02:00
Felix Niederwanger 46418bcf3a
Add env sanitation
Sanitize the environment variables when running webhooks and add ability
to add custom environment variables per webhook.
2023-05-28 11:44:42 +02:00
Felix Niederwanger 77a47b5784
Typo
Fix an embarrasing typo.
2023-04-22 13:42:32 +02:00
Felix Niederwanger a6e644d238
Add http basic auth
Adds the `basic_auth` section in a webhook that allows to define a
required username/password for being able to access a given webhook.

Signed-off-by: phoenix <felix@feldspaten.org>
2023-04-22 13:41:14 +02:00
Felix Niederwanger bb075137cb
Improve the documentation
Improve the wording to make it more clear, that weblug can run rootless.
Also adjust the yaml layout.
2023-04-22 10:58:40 +02:00
Felix Niederwanger 5715b9c399
Rename weblug.yaml to weblug.yml
Make the nomenclature consistent.
2023-04-22 10:52:31 +02:00
Renamed from weblug.yaml (Browse further)