nginx - SSL meteor Not Working.. Stuck in Spinner (loads nav bar and sidebar but nothing else) -
i've been having issue days , don't know how fix it.
i trying setup ssl certificate, , reason site works on http, , when try load https, loads navbar , sidebar, , it's stuck on spinner.
when examine @ network connections on chrome, keeps trying load xhr , websockets.
in safari error in console
websocket connection 'wss://mysite/sockjs/530/72iokiqa/websocket' failed: websocket closed before connection established
i trying set headers, in particular x-forwarded-proto header, can't figure out how that.
i using mup.
// configure environment "env": { "root_url": "https://inslim.com" }, "ssl": { "pem": "./ssl.pem" }
for reason, when try add por env variable, won't allow me mup deploy. break , site go down.
i confused nginx. installed , set up, don't think it's making difference. if run 'service nginx stop' or service nginx start, doesn't make difference.
can me? advice or help. or if need other info please let me know.
the ssl
part of configuration json looks fine, env
part needs little modification. env
part of configuration json should @ least this:
"env": { "port": 80, // defaults 80, different if app configured differently "root_url": "http://inslim.com" }
if not have force-ssl
package added application, suggest adding (don't worry, core meteor package). if not have spiderable
package added application, root_url
element in json can remain prefixed http
, if have spiderable
package added application, need change root_url
element prefix in json https
. of information per documentation meteor up, can found here. also, can confirm setup json works because have production application running exact setup without issues.
Comments
Post a Comment