mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 22:16:15 -04:00
Add FrankenPHP section to homepage
This commit is contained in:
parent
519e744daf
commit
8bf5c00581
6 changed files with 85 additions and 6 deletions
20
src/includes/examples/frankenphp.md
Normal file
20
src/includes/examples/frankenphp.md
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue