small refactor, add available signals to README

This commit is contained in:
2025-08-24 10:33:39 +02:00
parent e6938a9f39
commit c0b9edbfb5
13 changed files with 64 additions and 56 deletions

View File

@@ -1,6 +1,8 @@
# miniws
miniws (minimal web server) is a very simple web server written in golang. its purpose is to be lightweight, easy to configure and easily expandable for personal use.
all the help you'll ever need is in this README, and in the help text (`miniws -h`). there is no other documentation you have to read.
## command line arguments
```
-h --help Print help information
@@ -21,6 +23,10 @@ in your config folder you will find `ipfilter.conf` and `useragentfilter.conf`
both files use the same format: specify `allow|deny` in the first line to tell miniws to treat the file as a whitelist or a blacklist, then specify one ip/user-agent per line.
## signals
you can pass the following signals when using -s:
- `reload`: reloads the configuration files from disk
## logging
in your logging folder you will find `access.log` and `errors.log`