Hello,
I currently work with caddy as a web server for my symfony application.
This configuration file works fine :
{$SERVER_NAME}
log
route {
root * /srv/back/public
php_fastcgi unix//var/run/php/php-fpm.sock
encode zstd gzip
file_server
}
I want now to se Traefik as a reverse proxy, and keep caddy as web server. How do I need to update the caddyfile to support traefik ?
I already tried this configuration :
:80 {
root * /srv/back/public
php_fastcgi unix//var/run/php/php-fpm.sock
encode zstd gzip
file_server
}
This one works only for the home page, not for other pages.
Can you help me please ? Thanks for your answer.