Contents

Caddy As File Server

Contents

Caddy

Caddy is a blazing fast web server written purely in Golang. Even though it can be easily used as a http file server it is more than just that. Find out more about caddy from their offical website. https://caddyserver.com/

How to use it as a http file server

Caddy can be easily used to host a http file sharing server with the following command.

caddy file-server --browse --debug --listen :9999

The above command will open up a http file server on port 9999

By default the current working directory will be used as the root path for the server if not specified with --root <path> parameter

Referece API Documentation