From 664cae654867b528ea339f187ebe290cb04d6fcf Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期四, 27 八月 2026 18:41:21 +0800
Subject: [PATCH] docs: 关机前交接——运行状态、待验证项、外置配置要点
---
docs/iis-web.config.example | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/docs/iis-web.config.example b/docs/iis-web.config.example
new file mode 100644
index 0000000..545f9f2
--- /dev/null
+++ b/docs/iis-web.config.example
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ IIS 鍙嶅悜浠g悊閰嶇疆锛堟斁鍒� IIS 缃戠珯鐗╃悊鏍圭洰褰曪紝閲嶅懡鍚嶄负 web.config锛�
+ 鍓嶇疆鏉′欢锛氬凡瀹夎 URL Rewrite 2.0 + Application Request Routing (ARR) 3.0锛�
+ 骞跺湪 IIS 绠$悊鍣� - 鏈嶅姟鍣ㄨ妭鐐� - Application Request Routing Cache - Server Proxy Settings 鍕鹃�� Enable proxy銆�
+ 浣滅敤锛�/api/** 杞彂鍒版湰鏈哄悗绔� 8090锛坖ava -jar锛夛紝鍏朵綑璇锋眰鐢� IIS 闈欐�佹墭绠″墠绔� dist銆�
+-->
+<configuration>
+ <system.webServer>
+ <rewrite>
+ <rules>
+ <rule name="api-reverse-proxy" stopProcessing="true">
+ <match url="^api/(.*)" />
+ <action type="Rewrite" url="http://localhost:8090/api/{R:1}" />
+ </rule>
+ </rules>
+ </rewrite>
+ </system.webServer>
+</configuration>
\ No newline at end of file
--
Gitblit v1.9.1