From 31436590eced7aa60d2662d75458bd41d0c02db3 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Fri, 24 Oct 2025 14:29:34 -0400 Subject: [PATCH] Feature: Add IIS reverse proxy configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added web.config for IIS to proxy requests to Flask backend. Configuration: - Proxies all requests to http://localhost:3001 - Passes through all HTTP errors - Disables IIS static file handling (Flask serves everything) - Removes ASP.NET handlers that were causing 500.31 errors Requirements: - IIS URL Rewrite module - IIS Application Request Routing (ARR) - ARR proxy enabled at server level - Flask running on localhost:3001 (via NSSM service) Deployment: 1. Copy web.config to IIS site root 2. Install URL Rewrite and ARR modules 3. Enable ARR proxy in IIS 4. Run Flask as Windows service 5. Restart IIS site This allows Flask to run behind IIS with HTTPS support. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- web.config | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 web.config diff --git a/web.config b/web.config new file mode 100644 index 0000000..22fa81d --- /dev/null +++ b/web.config @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +