Custom error page in Symfony app #1043
-
|
I try to set custom error page in a way similar to what i do in apache: vhost.conf: which works fine, apache passes request to index.php with query string set in case of 403 and 404 error occurrs. Now I want to use: https://github.com/dunglas/symfony-docker as apache + php_fpm replacement, and tried to set this in frankenphp: ./frankenphp/Caddyfile:/etc/caddy/Caddyfile:ro (bind mounted in docker compose) But, when I refer nonexistent file, it doesn't work in a way it would expect. Any suggestions, how to make it work, am I missing something ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
I figured it out myself, works like that: |
Beta Was this translation helpful? Give feedback.
I figured it out myself, works like that: