5,321
edits
(→HTTP3) |
No edit summary |
||
Line 1: | Line 1: | ||
* [https://caddyserver.com/ Website] | * [https://caddyserver.com/ Website] | ||
Caddy is a webserver | Caddy is a webserver with automatic HTTPS and modern defaults (e.g. http2, websocket support). | ||
This article is about Caddy v2. | This article is about Caddy v2. | ||
Note that caddy does not support <code>.htaccess</code> which is only supported in Apache. | Note that caddy does not support <code>.htaccess</code> which is only supported in Apache. | ||
Line 49: | Line 41: | ||
==PHP== | ==PHP== | ||
# Install <code>php-fpm</code> | # Install <code>php-fpm</code> | ||
# Modify <code>/etc/php/7.4/fpm/pool.d/www.conf</code> to listen on a socket (e.g. 9000) | # Modify <code>/etc/php/7.4/fpm/pool.d/www.conf</code> to listen on a socket or port (e.g. 9000) | ||
<pre> | <pre> | ||
example.com { | example.com { |