Multifile is designed to be an Nginx-like static web server, but much more easier to use.
You need an Linux/Windows/MacOS as your server.
I strongly recommend using Golang to compile the binaries from source yourself.
If you download the pre-build binary from the release page, you can skip this step.
git clone https://github.com/LordCasser/multifile.git
cd multifile
go build .
For windows
multifile.exe -init
For Linux/MacOS
./multifile -init
and you will find
├─multifile #binary
├─resources #used for storing certificates
└─static #used for storing static web files
Just put HTTPS certificates for nginx into resources
folder, like
resources/
├── tls.crt
├── tls.csr
├── tls.key
└── tls.pem
There are already many tutorials on the use of hexo on the Internet, so I won't repeat them here. This user manual starts with the hexo already deployed.
Compile static file (in hexo floder)
hexo g
Copy files to static
folder
cp -r ./publish ../multifile/static/
with HTTPS (need HTTPS certificates)
./multifile -SSL
without HTTPS
./multifile
custom port
./multifile -Port 8080 #for example