feat: Init.

This commit is contained in:
2026-07-08 10:15:35 -04:00
commit 545e3bd1b6
6 changed files with 251 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
(cors) {
@origin header Origin {args[0]}
header @origin Access-Control-Allow-Origin "{args[0]}"
header @origin Access-Control-Allow-Methods "OPTIONS,HEAD,GET,POST,PUT,PATCH,DELETE"
}
wp.test {
root * .
encode zstd gzip
file_server
php_fastcgi 127.0.0.1:9009
tls internal
}
laravel.test {
# import cors laravel.test
respond /caddy/live OK
root * ./public
try_files {path} page-cache/{path}.html page-cache/{path}.json page-cache/{path}.xml
encode zstd gzip
file_server
php_fastcgi 127.0.0.1:9009
# Uncomment for Laravel Octane
# reverse_proxy :8000
tls internal
}