Add FrankenPHP section to homepage

This commit is contained in:
Matthew Holt 2023-12-19 15:48:11 -07:00
parent 519e744daf
commit 8bf5c00581
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
6 changed files with 85 additions and 6 deletions

View file

@ -0,0 +1,20 @@
<div class="ex-frankenphp">
```caddy
{
# Enable FrankenPHP
frankenphp
order php_server before file_server
}
example.com {
# Serve PHP app from current directory
php_server
}
```
</div>
<script>
window.$_('.ex-frankenphp code').classList.add('dark');
</script>