This is called nginx ssl term. The data is already decrypted by nginx, and the upstream rails application just needs to process unencrypted data, i.e. The rails application just needs to listen on port 80 (http) and in setting up the reverse proxy, you should have
proxy_pass http://rails_app_domain;
NOT
proxy_pass https://rails_app_domain;
Chuan Ma Mar 28 '13 at 3:05 2013-03-28 03:05
source share