If your server uses the `HTTP_X_FORWARDED_PORT` value on the $_SERVER variable, we will use that port number.
Alternatively, you can set define( ‘JETPACK_SIGNATURE__HTTP_PORT’ , 8080 ); in your wp-config.php (where 8080 is whatever port PHP has as $_SERVER[‘SERVER_PORT’];
]]>The $_SERVER['SERVER_PORT'] = 80; did it for me. Thank you for sharing.
However, I do not have the “nano /etc/nginx/conf.d/yousite.conf” file.
Also, tried adding the “if (req.url ~ “wp-(login|admin)|preview=true|xmlrpc.php|minify.php”) { return (pass); }”, but couldn’t get it to work. I’m still learning, so maybe I didn’t put it in the right spot? I get an error when starting the service.
]]>Sure, go ahead. (;
]]>