Hey guys, I use graphcool on my server with docker...
# orm-help
m
Hey guys, I use graphcool on my server with docker image but my pwa is on https and my endpoint on http then i can't access to my endpoint ... An idea ?
s
Get your endpoint on HTTPS 🙂
m
But how ? Beacause when I
graphcool deploy
they are automaticly generated on
http://
and
ws://
s
Are you using their backend solution or do you have control over your server? If the latter, you should look into LetsEncrypt (https://letsencrypt.org/)
m
It's backend solution .. :s
s
Have you tried connecting to your endpoint with HTTPS?
Just in the off chance that it already supports it 😄
Examples in their documentation seem to switch back and forth between HTTP and HTTPS.
m
Yep I've already try..
This site can't provide a secure connection
s
Interesting. @nilan might be able to help you figure this out.
m
Thanks for your time 🙂
n
well you need to expose your endpoint via HTTPS 🙂
m
But how ? (sorry i'm already student 🙂 ) because the endpoints are auto generated when i
graphcool deploy
and they are without HTTPS or WSS
n
You should be able to set up a HTTPS endpoint + certificate on top of wherever you are running Graphcool 🙂 Feel free to bring this up in the Forum or research this further with Google, I'm sure there are plenty of resources on this out there
m
I use this from scool directory and he's already on HTTPS

https://puu.sh/AsM1A/e8369859c1.pngâ–¾