I have tried to move my Symfony project to Caddy server environment, but I have problem with configuring it correctly.
Got so far as to load landing page and subpages, but no assets.
Here is my CaddyFile:
http://xxxxxxxx.dev:80 {
tls off
root /Users/xxxxxxx/projects/pk/web
fastcgi / 127.0.0.1:9000 php {
index app.php
}
rewrite {
to /app.php?{query}
}
log /Users/xxxxxxx/.valet/Log/access.log {
rotate {
size 10
age 3
keep 1
}
}
errors {
log /Users/xxxxxxx/.valet/Log/error.log {
size 10
age 3
keep 1
}
}
}
If any one could share example CaddyFile for Symfony and add it here GitHub - caddyserver/examples: OBSOLETE. This repo was for Caddy v1. For v2 and newer, see our forum's wiki category. for others to have, would help community a lot.