I'm trying to create a proxy_pass to a sites.google.com site. It works.. kinda. The site appears somewhat different when I access it through the nginx proxy.
My configuration:
location /gtis {
proxy_set_header HOST sites.google.com;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass https://sites.google.com/site/grupotisociedade/;
proxy_redirect default;
}
What can be wrong?
(broken) site through proxy: Proxy
(correct) site: Original