<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>反向代理 - 标签 - Jetsung's BLOG</title><link>https://blog.jetsung.com/tags/%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86/</link><description>反向代理 - 标签 - Jetsung's BLOG</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Wed, 15 Apr 2026 22:19:06 +0800</lastBuildDate><atom:link href="https://blog.jetsung.com/tags/%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86/" rel="self" type="application/rss+xml"/><item><title>Nginx 实战：利用正则捕获实现子域名动态端口反向代理</title><link>https://blog.jetsung.com/nginx-dynamic-proxy-by-subdomain/</link><pubDate>Wed, 15 Apr 2026 22:19:06 +0800</pubDate><author><name>Jetsung Chan</name></author><guid>https://blog.jetsung.com/nginx-dynamic-proxy-by-subdomain/</guid><description><![CDATA[<p>在开发测试环境中，我们经常需要为多个本地服务配置外网访问。手动为每个端口编写 <code>server</code> 块不仅低效，而且难以维护。本文将介绍如何利用 Nginx 的<strong>正则表达式捕获</strong>功能，实现根据子域名自动转发到对应本地端口的“万能”反代配置。</p>]]></description></item></channel></rss>