Frankenphp for apps served under directory #698
Answered
by
withinboredom
PrasadChinwal
asked this question in
Q&A
-
We serve our I have installed and configured Frankenphp with Laravel and the issue is that my url changes to https://apps.xyz.com/application_1/index.php I tried this fix in caddy file but didn't help:
I still see |
Beta Was this translation helpful? Give feedback.
Answered by
withinboredom
Apr 1, 2024
Replies: 1 comment 2 replies
-
I think it is this line:
if there isn't a file, it will fall back to index.html, index.php, and then frankenphp-worker.php; in that order. If you have an index.php, it will redirect to index.php. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note the docs for laravel don't include that:
https://frankenphp.dev/docs/laravel/
You can learn more about what is going on under the hood here:
https://frankenphp.dev/docs/config/
(hint:
try_files
isn't a validphp_server
directive, so it seems you are experiencing undefined behavior)