mirror of
https://github.com/caddyserver/website.git
synced 2025-05-06 19:57:13 -04:00
move generic linux below mainstream distros
This commit is contained in:
parent
6ace3ea2fe
commit
de1c1b4b34
1 changed files with 15 additions and 14 deletions
|
@ -31,20 +31,6 @@ Replace `ASSET` with the filename for your platform.
|
|||
[**View on Docker Hub**](https://hub.docker.com/_/caddy)
|
||||
|
||||
|
||||
## Linux & Raspberry Pi
|
||||
|
||||
You can use Webi to automate the processes of downloading the latest release and putting it
|
||||
in your PATH, without requiring admin permissions.
|
||||
|
||||
<pre><code class="cmd bash">curl -sS https://webinstall.dev/caddy | bash</code></pre>
|
||||
|
||||
If you'd like a simple way to launch Caddy as a system service and bind to privilege ports,
|
||||
see the Webi [Caddy Cheat Sheet](https://webinstall.dev/caddy).
|
||||
|
||||
To allow non-root users to bind to ports 80 and 443, use setcap.
|
||||
|
||||
<pre><code class="cmd bash">sudo setcap cap_net_bind_service=+ep $(readlink $(command -v caddy))</code></pre>
|
||||
|
||||
## Debian, Ubuntu, Raspbian
|
||||
|
||||
<pre><code class="cmd"><span class="bash">echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" \
|
||||
|
@ -72,6 +58,21 @@ RHEL/CentOS 7:
|
|||
[**View the Caddy COPR**](https://copr.fedorainfracloud.org/coprs/g/caddy/caddy/)
|
||||
|
||||
|
||||
## Linux & Raspberry Pi
|
||||
|
||||
You can use Webi to automate the processes of downloading the latest release and putting it
|
||||
in your PATH, without requiring admin permissions.
|
||||
|
||||
<pre><code class="cmd bash">curl -sS https://webinstall.dev/caddy | bash</code></pre>
|
||||
|
||||
If you'd like a simple way to launch Caddy as a system service and bind to privilege ports,
|
||||
see the Webi [Caddy Cheat Sheet](https://webinstall.dev/caddy).
|
||||
|
||||
To allow non-root users to bind to ports 80 and 443, use setcap.
|
||||
|
||||
<pre><code class="cmd bash">sudo setcap cap_net_bind_service=+ep $(readlink $(command -v caddy))</code></pre>
|
||||
|
||||
|
||||
## DigitalOcean
|
||||
|
||||
[**Deploy a Caddy droplet on DigitalOcean**](https://marketplace.digitalocean.com/apps/caddy)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue