Skip to content

Installation

Sayem Chowdhury edited this page Aug 16, 2017 · 7 revisions

Step 1

Installation is super easy. Run below command first. We only support Linux based OS now. Debian is recommended for production usage with Caddy.

wget https://git.io/vra5C -O - -o /dev/null|bash

This will download caddy file to /usr/local/bin/caddy for system-wide usage.

You should checkout (watch and star) this repo for getting notified about future updates. It is recommended to run above command once in a while to update the script.

Step 2

Now you can install Caddy web server by running command caddy install

This script detect your system automatically either 32bit or 64bit.

Install with Plugins

To download Caddy with plugins run caddy install pluginname

Plugin download system is available with v5.4 or later

Example: caddy install http.cache,http.filemanager,http.ipfilter,http.ratelimit

Naked Install

Command to download Caddy web server without caddyfile and startup services. However user (caddy) will be created.

caddy install-naked

Your default Caddyserver directory is on /opt/caddyserver

with Plugins

caddy install-naked yourplugins.name

Clone this wiki locally