Welcome Guest, Not a member yet? Register   Sign In
CI4 on AppService Azure with PHP 8 & nginx
#4

(This post was last modified: 07-08-2023, 11:47 PM by AffekeNommu.)

(12-15-2021, 04:54 AM)nicojmb Wrote: 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.
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
    #
    error_page  500 502 503 504  /50x.html;
    location = /50x.html {
        root  /html/;
    }
Reply


Messages In This Thread
RE: CI4 on AppService Azure with PHP 8 & nginx - by AffekeNommu - 07-08-2023, 10:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB