A simple and fast web server
HTTP/1 and HTTP/2auto gzip deflate brDownload the binary from the release page
```bash cargo install see
cargo install --git https://github.com/wyhaya/see ```
bash
docker pull wyhaya/see
Example
Add the following to see.conf
server {
listen 80
echo Hello world
}
mkdir see && vim see/see.conf
Run container
bash
docker run -idt --name see -p 80:80 -p 443:443 -v '$PWD'/see:/ wyhaya/see
Open localhost and you should see hello world
Quick start in current directory
bash
see start
Use specified port and directory
bash
see start -b 80 -p /root/www
You can use see -c [FILE] to specify the configuration file location
The default configuration file is in ~/.see.conf
``` server { listen 80 root /root/www }
server { listen 443 root /root/www host example.com https { key ./ssl.key cert ./ssl.pem } } ```