Category: caddy

  • Caddy, PHP8, MariaDB on Mac using homebrew

    Install Homebrew Install Caddy, PHP, MariaDB Setting up Caddy We’re gonna edit Caddyfile configuration located in /usr/local/etc/Caddyfile. Start caddy service. PHP-FPM Find this phrase in PHP8-FPM conf, located /usr/local/etc/php/8.0/php-fpm.d/www.conf revise it to: And edit php.ini as follows, located in /usr/local/etc/php/8.0/php.ini And add more configs for opcache, located in /usr/local/etc/php/8.0/conf.d/ext-opcache.ini Now start php service. mariadb n…

  • Caddy web server configuration: the easy way using Caddyfile

    아직 caddy(참조)에 대해 모르는 사람이 많을 것이다. 이것은 apache, nginx, lighttpd와 openlitespeed 등과 같은 웹 서버로, 현재 caddy와 nginx를 실제 서버에 운용해보고 있다. 설치 부분은 우선 제외하고, 설정만 본다면 caddyfile을 통한 쉬운 설정이 가능하다. nginx에서는 여러 부분에 걸쳐 설정해야 하는 부분이 기본적으로 되어 있어서 편리한 부분이 크다. 예를 들어: 이 설정이면 WordPress 사이트를 운용할 수…