--- a/contrib/provision/roles/tram-im/templates/etc/nginx/sites-available/tram-im Sat Dec 03 01:27:01 2016 +0800
+++ b/contrib/provision/roles/tram-im/templates/etc/nginx/sites-available/tram-im Sat Dec 03 01:28:43 2016 +0800
gzip_types text/css application/javascript application/x-javascript text/javascript;
proxy_pass https://127.0.0.1:5281/http-bind;
proxy_set_header Host $host;
+ proxy_set_header X-Scheme $scheme;
+ 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;