meteor SSL 설정(HTTPS(nginx) -> HTTP(meteor)) 진행중...

2016. 8. 30. 22:45Meteor

meteor SSL 설정(HTTPS(nginx) -> HTTP(meteor)) 진행중...


https://guide.meteor.com/security.html#Setting_up_SSL

안내를 보고


https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx

을 설정하였으나...


미티어에서 마구 에러를 발생 시킴...

Exception in setInterval callback: ReferenceError: Random is not defined

    at https://localhost/app/app.js?hash=350d9580bcdd6e837ec530bc837e992ef5eeab73:279:25

    at withValue (https://localhost/packages/meteor.js?hash=ae8b8affa9680bf9720bd8f7fa112f13a62f71c3:1077:17)

    at https://localhost/packages/meteor.js?hash=ae8b8affa9680bf9720bd8f7fa112f13a62f71c3:464:45

    at https://localhost/packages/meteor.js?hash=ae8b8affa9680bf9720bd8f7fa112f13a62f71c3:1105:22


다시 아래 문서를 보고,

http://www.meteorpedia.com/read/SSL


1. Using Meteor Up - 윈도우에서 작동 않됨.

2. http-proxy node package - 서버 코딩이 싫음

3. Forwarding Headers - 이것도 별로..

4. nginx proxy - 먼저 한 방법..


그럼, 리눅스에서 (Meteor Up)으로 돌려봐야 하는가?