NGINX does not return response headers from node.js

I have my own server with Ubuntu Server 16.04 installed on it. IP is being served by internet provider using PPPoE connection. NGINX is being used as a reverse-proxy for 2 apps. Each app has a domain name with Certbot SSL cetrificates for the root domain name and all the subdomains defined in DNS settings. NGINX is configured to redirect all HTTP to HTTPS. Each app is a Node.js application. The first app domain is being served by Hostinger and has multiple A Records for subdomains, since it doesn't support wildcards. I'm using Express as a server-side framework for Node.js and the "express-subdomain" module since Express doesn't have support for subdomains from the box.

The problem is - when response headers are being created by Node.js using "[login to view URL]()" - they've not been added to the final response for subdomains, however, everything works fine for root domains.

Skills: Node.js, Linux, Nginx, Ubuntu, Express JS

See more: how does node.js work, node js and express js and three js Building NS5, how much memory does node.js use, building a website with node js and express, node js configure nginx, building restful web apis with node js and express, what does a node js developer do, nginx node js load balancing, node js typescript express, nginx or node js, node js request response cookies, node.js: package.json not found in application root heroku, what does require do in node js, nginx node js multi core, nginx node js cache, node js mock express server, nginx node js, paypal integration using node.js and express, node js paypal express checkout, how does node js work

About the Employer:
( 0 reviews ) Lviv, Ukraine

Project ID: #27898322

8 freelancers are bidding on average $168 for this job


Does your headers have underscores in them? it doesn't look like a node.js related issue more like nginx configuration issue, can try after having a look!

$150 USD in 1 day
(24 Reviews)

Nginx experience +8 years of experience in Linux server management and cloud systems which includes Installation, Monitoring, and Optimization. I can handle the installation of applications on Linux. I do web hosting s More

$80 USD in 2 days
(22 Reviews)

Hello there, I have over 10 years of work experience with Linux and Nginx and I think I can definitely help you with this. Ping me and lets get it done. Cheers mate.

$30 USD in 7 days
(8 Reviews)

Hello there, Please send me more details to start working on your project, I will be happy to work with you. Best regards. Moez.

$250 USD in 7 days
(0 Reviews)

Hello, I have checked The requirement and understand that as well. I have created SIMILAR in past. Do you want to see the DEMO ??? Can will send you ?? Thanks.

$278 USD in 3 days
(0 Reviews)

Hi, I have been working as a full stack developer with 9+ years experience in scss/less/angularJS/Node.js/reactJs & have rich experience with SPA frame(Angular, React, Vue). My Back-end skills: -- E-commerce, Shopify, More

$140 USD in 7 days
(0 Reviews)

I propose a migration to a new tool (open source) better than NGINX which offers several functionalities. If you agree. I take care of it

$250 USD in 7 days
(0 Reviews)

Hi there, as far I read the situation I feel that it's mostly likely Nginx configuration issue may have to check that , as you are working with subdomain create via node so I need to see both side for conclusion what More

$167 USD in 5 days
(0 Reviews)