# LogServer Program that serves compressed files over http. *** ## Configuration Default configuration file is ./config.json. Config file can be specified with argument: ``` bash ./logserver /path/to/config_file.json ``` Config.json options: **address** - IP serving address:port. **data** - A dictionary of string and _item_. String is a name that will be used as directory name in html page. **item** - Consists of 3 parts: * **path** - directory location in server * **ext** - file extension. All other files in directory mentioned above will be excluded *** ## Build Simple as ``` sh go build ``` For smallest executable size ``` sh GOOS=linux go build -ldflags="-s -w" upx --brute logserver ``` *** ## License [MIT](https://gogs.infcof.com/infcof/Logserver/src/master/LICENSE)