Just found out the problem # needed for HTTPS proxy_set_header X-FORWARDED_PROTO https; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect false; proxy_max_temp_file_size 0; I removed these lines. Thanks -- Posted via http://www.ruby-forum.com/.