---
title: "nginx 改变请求路径"
author: "java12345678"
date: "2019-07-22T15:47:01Z"
tags: []
categories: ["开源软件"]
slug: "nginx"
draft: false
lastmod: "2019-07-22T15:47:01Z"
id: 2442872
url: "https://java12345678.iteye.com/blog/2442872"
---

server 中{：

   

 

rewrite 原URL  目标url  break;

 }

目标url 再匹配 location 找到后端服务。