diegohaz / diegohaz/rest

API Not working when running in production mode - IIS Server

Open
#192 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.8k
Forks
304
PR merge metrics
No merged PRs in 30d

Description

Hi Diego

I created a new project and added it to an IIS and everything runs perfectly if I set the NODE_ENV variable to development mode with a SSL certificate installed but if I change NODE_ENV to production the site stops working. This doesn´t occur if I open the CMD and run "npm run prod", in this scenario I get a response saying "SSL required" which is ok. Thanks.

This is the web.config file installed.







































Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.