---
title: "nginx try_files"
author: "xxi"
date: "2017-05-26T19:25:59Z"
tags: []
categories: ["企业架构"]
slug: "nginx-try-files"
draft: false
lastmod: "2017-05-26T19:21:43Z"
id: 2376637
url: "https://xxi.iteye.com/blog/2376637"
---

```java
try_files $uri $uri/ /index.php?s=$uri&$args;

```

适用于 路由入口唯一框架