CI4 on AppService Azure with PHP 8 & nginx |
Hi,
I'm trying to install CI4 (composer) on Azure AppService with Linux and PHP 8.0. I saw that with this combination: AppService + PHP8 --> Azure use nginx instead of apache. I've read this guide to setup rewrite: https://azureossd.github.io/2021/09/02/p...index.html and now the default page of CI4 works fine, but the problem is that other routes get a nginx 404 not found (in other hosting like "plesk" works perfect) if someone has configured CI4 in Azure appService + Linux + PHP 8 with nginx, please shared the config with me.. Regards!
Hi all,
I find the problem!!! I've a internal error 500 in CI and in the nginx file have a redirect to page that do not exists. Fixed commented nginx redirecto 500 error.
I'm having the same issue, I get 404 not found if i don't put index.php.
How did you solve your problem in azure?
(12-15-2021, 04:54 AM)nicojmb Wrote: Hi all,My dude. Your cryptic response was correct. The default config in Azure has a section for 500 errors that has an invalid URL which bombs out CI4. Hose the section for the 500, copy to the live location and the site comes to life. The section I removed was: Code: # redirect server error pages to the static page /50x.html |
Welcome Guest, Not a member yet? Register Sign In |