Not Working on Staging Server – NginX Issues?
-
Love, love, love this plugin. It’s so useful for my day to day when developing locally.
I am, however, having an issue getting it to work on my staging environment using a subdomain – separate machine/IP from production. I’ve set my wp-config.php with the following constants.
define(‘WP_HOME’, ‘https://stage.website.com/’);
define(‘WP_SITEURL’, ‘https://stage.website.com/’);
define(‘UBP_SITEURL’, ‘https://website.com/’);
define(‘UBP_LIVE_DOMAIN’, ‘https://website.com/’);
define(‘UBP_IS_LOCAL’, true );Seems like the 404_template hook isn’t even firing. I’m running NginX, APC, Varnish and then also running Cloudflare on the production server (AWS Ubuntu – elastic IPs).
Any help is greatly appreciated as I would love to be able to use this on staging.
- The topic ‘Not Working on Staging Server – NginX Issues?’ is closed to new replies.