I’m not sure if this is coming from the HubSpot rules or something, but I have configured the nginx proxy for some URLs on HubSpot, and the GoogleBot is getting a 5xx error after that.
Although the website can be accessed normally, it’s blocking non-common user agents. Can you please help me to verify it?
Here is my config:
location ~* ^/customers {
proxy_set_header Host xxx.hs-sites-eu1.com;
proxy_set_header X-HS-Public-Host xxx.hs-sites-eu1.com;
proxy_pass https://xxx.hs-sites-eu1.com;
proxy_ssl_name xxx.hs-sites-eu1.com;
proxy_ssl_server_name on;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-HubSpot-Client-IP $proxy_protocol_addr;
proxy_pass_request_headers on;
proxy_set_header X-HubSpot-Trust-Forwarded-For true;
}