We are making an attempt to make our site more content-driven and while Shopify is a cool ecommerce platform, it's not that great when it comes to content. So we've moved our site from solely on Shopify and put WordPress on an Nginx server. On that server we have reverse proxied the store into /store on the site following this post.
All was well after I configured it, but since the traffic ramped up for the day, we've been faced with this ban message:
My guess is that Shopify does not look at the forwarded IP from the client and as a result the server is being banned due to all of the traffic. Ultimately, this may just not be the workaround that we were looking for and we may need to leave Shopify altogether. Basically our store has been down all day due to this.
Can anyone confirm that this method doesn't work? Or if it's just a configuration error on my end.
Here's my location from the nginx config file:
location ~^/store/(collections|cart|products|shopify|pages|blogs|checkout|admin)/?/
{
rewrite /store/(.*) /$1 break;
proxy_pass https://xxxx.myshopify.com;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
}
I'd very much appreciate any help. Let me know if there's anything else I can provide to make this easier to answer.
Thanks!