1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Nginx Error Pages Replacing Xenforo Errors

Discussion in 'Troubleshooting and Problems' started by |Jordan|, Feb 25, 2015.

  1. |Jordan|

    |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?
  2. Jeremy P

    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| likes this.
  3. |Jordan|

    |Jordan| Active Member

    :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;

Share This Page