All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
178 views

Error: Request aborted - can't send 20MB .mp3 files using Node.js + Express?

I'm making a game using a Node.js + Express app on Heroku. When the page loads, the soundtrack (music) is fetched in 5 20MB .mp3 files. But sometimes, the request hangs and then throws error 'Request ...
Lubos Chlebicki's user avatar
0 votes
0 answers
62 views

Node.js: Bad gateway on HTTPS server (unable to get the server's files?)

So, I have a Node.js server on render.com. It has only 2 files (server.js and index.html). But, when I load myservername.onrender.com/index.html, the request for file index.html fails and throws 502 ...
Lubos Chlebicki's user avatar
1 vote
1 answer
804 views

Node on Nginx - proxy_request_buffering off doesn't work with https? Super slow https image uploads

I have a node server running on nginx as a reverse proxy, which is supposed to handle image uploads. Its ssl cert and domain are configured through cloudflare. Aside from setting the proxy_pass to ...
intern3t-us3r's user avatar
0 votes
0 answers
709 views

How to pass https requests to http in nginx

I have a self signed certificate, I deployed my front end react app on nginx which is served by using HTTPS but front end is making call to back-end spring-boot app over HTTP and when i check inspect ...
Satish Lamak's user avatar
1 vote
1 answer
1k views

Apache config for frontend https + Backend http

I have a server running on Linode that has 3 subdomains. Every subdomain is a diferent Angular 8 Application and have it´s own backend. xyz.example.com xyz.example.com:8080 abc.example.com abc....
Renato Azevedo Zoppei's user avatar
1 vote
3 answers
1k views

NGINX frontend HTTPS server rejects requests to local backend http express server

I have an application that's split into two servers: one is a React application running on port 8080 and the other is an Express server running on 3001. The machine running this application has to run ...
Charlie Monnone's user avatar
2 votes
0 answers
211 views

How to reverse proxy a Nodejs instance on a directory of an AWS lightsail website

I have a website and Nodejs application hosted on the same AWS lightsail instance such that I want the website to connect to use the data hosted by the Nodejs application. The API is hosted on port ...
Philip09's user avatar
1 vote
2 answers
107 views

Can an HTTP request to an HTTPS server be forced to encrypt? [closed]

I have an Unbuntu server running NodeJS, where I want to upload some files. Some of the files contain some data that I would prefer would not to be leaked, but it wouldn't be a massive issue if ...
Asgeir's user avatar
  • 111
1 vote
0 answers
315 views

How to configure Node.js ExpressJs for HTTPS?

I am attempting to get an nginx,NodeJs,Express route working correctly on a server instance (Digital Ocean). So far, this is the situation: What currently works: http://api.xxxxxx.com - switches to ...
Jay Cummins's user avatar
1 vote
1 answer
2k views

My Web application gives CORS error after adding HTTPS using Let's Encrypt

This is my application : https://cfslpro.com/student_portal/ Front end is done by AngularJS and back end is done by Node.JS. Hosted in Apache server. ( Digital ocean Linux 16.04 ) You can try login , ...
Chanaka De Silva's user avatar
0 votes
0 answers
493 views

Node.JS rest API is not accessible from outside when I added SSL to my Linux server

This is a testing application i'm doing. https://cfslpro.com/student_portal/ username : chanu password : 123456 Before adding HTTPS , this login and everything worked. But now nothing is working. ...
Chanaka De Silva's user avatar
0 votes
1 answer
166 views

Trouble configuring https with nginx on centos

I've got a node.js project running locally with http2 and https. Everything is running great, I generated a self signed cert and running the app serves everything up correctly. So now i'm trying to ...
Shan Robertson's user avatar
1 vote
0 answers
588 views

The way AWS Lambda@Edge accesses to S3 restricted by Object Access Identity (OAI)

I have a question. Is the Lambda function (written in node.js) associated with CloudFront accessible to S3 objects restricted by Object Access Identity (OAI)? If yes, could you tell me how to access? (...
light's user avatar
  • 11
1 vote
1 answer
3k views

Reverse proxy to localhost:xxxx only work for http and not for https

I have the following configuration that works for http: server { listen 80; listen [::]:80; server_name subdomain.domain.tech; location / { proxy_set_header X-Forwarded-...
Simoyw's user avatar
  • 121
1 vote
0 answers
2k views

Node.js HTTPS error (SSL_ERROR_NO_CYPHER_OVERLAP) - no common encryption algorithm(s)

I have seen other similar questions but non addresses my problem. I have generated my TLS (openSSL) Self-Signed certificate, but seems not working on my NodeJS server. Instructions to generate SSL ...
Nah's user avatar
  • 123
3 votes
1 answer
6k views

SSL Permission Error: Node.js with HTTPS + Let's Encrypt SSL + Apache + Non-Root User

I have a Node.js server set up and I am trying to use HTTPS with my Let's Encrypt certificate on Apache. Here is the relevant code I have set up: var fs = require('fs'), https = require('https'), ...
peppy's user avatar
  • 73
1 vote
1 answer
2k views

"_*" headers not seen through NGINX reverse proxy

I have setup a reverse proxy with nginx to serve my frontend over port 80, which then gets redirected to 443 ssl https and my api backend node-express on port 5000 over /api. So far the basic works ...
Neo Neo's user avatar
  • 59
0 votes
1 answer
967 views

How to use NGINX as a proxy for https enabled service with client certificates

I am responsible for a node application that uses client certificates to authenticate. If I connect directly to this application using HTTPS from a browser, I'm prompted for my client certificate and ...
Anonymouslemming's user avatar
0 votes
3 answers
963 views

Server with http and https (node.js) - best approach

I have an app with node.js and express.js server and I want to provide access from 4 points: https://www.example.com http://www.example.com https://example.com http://example.com And I am not sure ...
Piotr Wójcik's user avatar
2 votes
1 answer
2k views

How to set up HTTPS using Lets Encrypt, Node, and Express 4

What I've Done I used certbot to certify that I own my domain, which generated several .pem files. The certificates are listed here: https://certbot.eff.org/docs/using.html#where-are-my-certificates ...
TW80000's user avatar
  • 139
1 vote
1 answer
2k views

nginx redirect loop running reverse proxy subdirectory

I'm trying to install a ghost blog along an express app on an nginx server. The blog is supposed to run in the /blog subdirectory, express will handle all the other routing on /* Right now setup ...
Seb's user avatar
  • 131
2 votes
1 answer
1k views

Is it safe to pass my ssl key and cert files to socket.io? [closed]

I'm building a web chat using socket.io In order to communicate on port 3000 through https I need to pass my ssl key and cert files. Socket.io is an open source and I don't know how trustworthy it ...
Niv Apo's user avatar
  • 121
0 votes
2 answers
2k views

node.js application without or with nginx/apache

I am starting a REST server using node.js with the restify framework. There will, therefore, be no static pages. However, ssl (https) will be required. Is it a good idea to put an http server in as a ...
Frank Conry's user avatar
2 votes
1 answer
3k views

Running a HTTPS Node.js server as non-root

Can a Node.js server serving an app over HTTPS be run as a non-root user? The problem is that there seems to be no way to run a script like this without sudo, since it has to access the certs. I'm ...
Matias Heikkilä's user avatar
4 votes
1 answer
4k views

Unable to get websockets to work through apache HTTPS proxy (302 error)

I'm unable to make websockets work on a node backend using an apache proxy through HTTPS to connect to the node instance. Websockets are working properly if no (apache) http(s) proxy is used. My ...
Digital Leaves's user avatar
4 votes
1 answer
5k views

AWS Elastick Beanstalk + Node JS + HTTPS = Connection Refused

I have a node js app deployed on AWS, using Elastic Beanstalk with a single instance. It works well with HTTP but I am having trouble setting up the HTTPS access. I created my certificate and ...
ErezSO's user avatar
  • 161
1 vote
1 answer
36 views

Securing traffic handled with mod_proxy

I have a machine running Apache and a Node.js server. Traffic is being routed through Apache using mod_proxy like so: <VirtualHost *:443> ServerName example.com ProxyPass / http://localhost:...
colonelsanders's user avatar
0 votes
1 answer
865 views

What are Best Practices for setting a https node server via a reverse-proxy without using Apache or Nginx

I am trying to get a Node https server accessed through a node proxy. I bought certificates and got a standalone https server working fine. Initially there were some hiccups because of multiple certs ...
Sunny's user avatar
  • 381
1 vote
0 answers
49 views

Domain is forcing HTTPS automatically when accessing by HTTP

I have a project based on Nginx + Node.js. When I'm trying to access it by my domain, it automatically redirects from HTTP to HTTPS and I get a 404 because my deployment is not ready for SSL. When it ...
Rubén Jiménez's user avatar
18 votes
1 answer
22k views

Where is the private key after using certreq for CSR generation on Windows 10?

I tried to follow the website below for instructions on how to generate the CSR for my web server: http://www.entrust.net/knowledge-base/technote.cfm?tn=8649 However, it only generates the CSR. ...
Chong Lip Phang's user avatar
6 votes
3 answers
7k views

How to remove RC4 cipher from node.js https server running on Windows 2012 R2

Using ssllabs.com's scan tells me RC4 is in use. I read that RC4 should be disabled by default in Windows 2012 R2. I'm running a node.js server using https.createServer and not specifying ciphers (...
ciso's user avatar
  • 217
2 votes
0 answers
763 views

From Http to Https NodeJS Websockets on Apache Server

Here is my problem. I have a virtual machine, on windows, the Apache server (2.4) is installed on it. The vm is on the network, so that other people can reach it directly on http://192.168.100.22 (...
Julo0sS's user avatar
  • 163
0 votes
0 answers
1k views

using nodejs https module with ssl certificate proxy with nginx without adding ssl certificate in nginx

I am using nodejs https module with nginx proxy. I have multiple ssl certificate and I want to run all https sites using node without adding all certificates in nginx ssl server. Is any way to proxy ...
user1903724's user avatar
7 votes
3 answers
13k views

Nginx not redirecting but is working

This is my first setup with nginx and I'm using it to proxy to nodejs. HTTP is on port 3000, and HTTPS is on port 3001. If I go to http://test.domain.com it loads the regular unsecure pages. If I go ...
romo's user avatar
  • 171