Reverse proxy breaks theme, only partially rendered
-
Hi, I’m in the process of moving a WP site from Heroku (via a reverse proxy and this hackish plugin: https://github.com/mhoofman/wordpress-heroku) to a Bitnami pre-installed WP instance on Amazon AWS. The reason for the move is that we’re doing a full redesign and figured the AWS instance would be a bit more stable and sustainable. We have the reverse proxy in place currently so we can drive traffic to the blog server at /blog on our main site (careerfoundry.com), which is hosted on a Heroku rails server.
The redesign is mostly done and the good thing is that the staging version of the new blog works great on AWS:
https://ec2-54-88-144-26.compute-1.amazonaws.com/And the reverse proxy points to the AWS server properly from our staging site. The problem is that only part of the page is rendered; the HTML stops outputting after line 60:
https://coach-courses-staging.herokuapp.com/blog/There don’t appear to be any specific PHP tags that are breaking it because it usually cuts off in the middle of an HTML tag. I’ve also turned off extra plugins, which ends up changing the header code but it still breaks somewhere around lines 50-60.
I’ve tried changing both WP_HOME and WP_SITEURL to the AWS domain and the new staging domain and doesn’t seem to have an affect on this. Any idea why the page would only partially render?
- The topic ‘Reverse proxy breaks theme, only partially rendered’ is closed to new replies.