Caddy2 codeigniter

1. Caddy version (caddy version):

Version 2

2. How I run Caddy:

systemctl start caddy

Anyone has a config for codeigniter 4 for caddy trying to use it in a subfolder but doesn’t work right

Can you clarify this?

but doesn’t work right

What do you mean it doesn’t work right? Do you see an error? What is the behavior you’re seeing? Please fill the help template in full so we can have a better idea of what’s happening on your system.

2 Likes

I am seeing 404 not found, when i enter the route /process/login for example it won’t go to the correct controller it gives me the standard route this is my config:

domain.com {
encode zstd gzip
root *  /var/www/panels/be-main-panel
php_fastcgi unix//run/php/php7.4-fpm.sock
tls fuzion-fq@protonmail.com
file_server browse
handle /process* {
  try_files  {path}/ /process/index.php
}
}

Please fill out the help thread as requested. We can’t help if you don’t follow instructions.

This topic was automatically closed after 30 days. New replies are no longer allowed.