azure-nodejs-production

Installation
SKILL.md

Express/Node.js Production Configuration for Azure

Overview

When deploying Express/Node.js apps to Azure (Container Apps, App Service), you MUST configure production settings that aren't needed locally.

Required Production Settings

1. Trust Proxy (CRITICAL)

Azure load balancers and reverse proxies sit in front of your app. Without trust proxy, you'll get:

  • Wrong client IP addresses
  • HTTPS detection failures
  • Cookie issues
// app.js or server.js
const app = express();
Installs
GitHub Stars
212
First Seen
azure-nodejs-production — microsoft/github-copilot-for-azure