XF 1.4 Nginx Error Pages Replacing Xenforo Errors

|Jordan|

Active member
I have 2 XenForo forums on my dedicated server and each have Nginx error pages set up for every error code. Problem is, when an XF error should display (eg. a user doesnt have access to view a node), instead of the XenForo Login page displaying, i get my Nginx 403 error page.

On my other forum, when i have the board inactive, the page displays a 503 error for users who aren't logged in.

Any idea's whats happening?
 

Jeremy P

Well-known member
You probably have the error intercept for fastcgi responses turned on. This will make nginx use its own error pages whenever it receives an error response from PHP upstream.
 

|Jordan|

Active member
You probably have the error intercept for fastcgi responses turned on. This will make nginx use its own error pages whenever it receives an error response from PHP upstream.
:O That was it. You sir are a gentleman and a scholar.

Many thanks!

P.S. For those wondering what i did; in my nginx conf for my vhost in the fastcgi directive, i changed: fastcgi_intercept_errors on; to fastcgi_intercept_errors off;
 
Top