I have a digital ocean droplet. I want to access my meteor app through https.
I use mup to deploy it. It worked fine for http but it doesn’t work for https at all, and I’ve been struggling all day.
I’m using force-ssl and a certificate from letsencrypt.
I simply get a message that this webpage is not available.
The main problem may be that I’m also running Wordpress on this site. So I need to run the meteor app at a different port (8001), see below.
This is my mup.json file:
{
// Server authentication info
"servers": [
{
"host": "x.x.x.x",
"username": "root",
// or pem file (ssh based authentication)
"pem": "~/.ssh/id_rsa"
}
],
// Install MongoDB in the server, does not destroy local MongoDB on future setup
"setupMongo": true,
// WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
"setupNode": true,
// WARNING: If nodeVersion omitted will setup 0.10.36 by default. Do not use v, only version number.
"nodeVersion": "0.10.40",
// Install PhantomJS in the server
// "setupPhantom": true,
// Show a progress bar during the upload of the bundle to the server.
// Might cause an error in some rare cases if set to true, for instance in Shippable CI
"enableUploadProgressBar": true,
// Application name (No spaces)
"appName": "appx",
// Location of app (local directory)
"app": ".",
// Configure environment
"env": {
"ROOT_URL": "https://appx.xxx.com",
"PORT": 8001
},
"ssl": {
"pem": "./ssl.pem"
// "backendPort": 8001
},
// Meteor Up checks if the app comes online just after the deployment
// before mup checks that, it will wait for no. of seconds configured below
"deployCheckWaitTime": 15
}
Any ideas will be much appreciated!!