I am trying to set up greenlock-express to run behind nginx proxy.
Here is my nginx config
...
# redirect
server {
listen 80;
listen [::]:80;
server_name mydomain.com;
location / {
return 301…
I have a website that is served by Apache. I am using LetsEncrypt certificates that have been created by certbot using apache plugin. OS is Ubuntu. The site works fine.
Now I am running a NodeJS based API server that uses HTTPS. In order to test I…
I'm trying to setup HTTPS encryption for my nodejs webapp. From what I learned, greenlock-express (formely known as letsencrypt-express) is the easiest way to do it.
My app is pretty simple, but I'm having a hard time to follow the usage…
I am trying to setup ssl in my local system. I am using windows machine with sails js application.
here is the configuration that I did.
/**
* Production environment settings
* (sails.config.*)
*
* What you see below is a quick outline of the…
Has anyone been able to use let's encrypt node module (https://git.coolaj86.com/coolaj86/greenlock-express.js) with Sails.js? A little pointer would be helpful.
I've been trying to use the greenlock.js module for Node to try and obtain ssl certificates for a domain registered in cloudflare.
I have seen some examples on greenlock-express, however, I would like to use this module without needing to use…
I'm trying the simple greenlock-express example and I've tried many many times but it won't work. I followed the tutorial many times. I created the greenlock.d/config.json file and it works because I see the domain on the output.
When I launch I…
I am using the greenlock-express libary for node.js
My init config looks like this:
const greenlock = require("greenlock-express")
.init({
packageRoot: global.__projectFolder,
configDir: "./greenlock.d",
…
I am trying to set up letsencrypt (now greenlock apparently) for port forwarding with express.
I had this first issue that I solved with:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3000
iptables -t nat -A PREROUTING -p…
I am using the following server script to run both http, https servers and redirect all http requests to https.
When I access the server both locally and remotely from IP addresses, the requests redirect to https and api works with an unsecure…
I am trying to use greenlock-express to test serving an app with ssl. I am following the documentation here:
So I have app.js:
"use strict";
// Here's a vanilla HTTP app to start,
// but feel free to replace it with Express, Koa, etc
var app =…
I have already checked this post. But even though I tried that method, it didn't work, so I open a new issue.
I use AWS EC2 server and deploy with aws pipeline. So When I push to github repository, it will automatically build and deploy to…
I am pretty much new to setting up ssl server i am just exploring a package called greelock
https://www.npmjs.com/package/greenlock
trust me i am using real domain for this setting up ssl.
after installed all packages i run this code.
'use…