# \#try-files

**URL:** https://community.nginx.org/tag/try-files/339.md

[Latest](https://community.nginx.org/latest.md) · [Categories](https://community.nginx.org/categories.md) · [Tags](https://community.nginx.org/tags.md)

---

## [The try\_files directive is evil without open\_file\_cache & static instead of PHP?](https://community.nginx.org/t/the-try-files-directive-is-evil-without-open-file-cache-static-instead-of-php/7787)

<div class="topic-metadata">

**Author:** [@Jenne](https://community.nginx.org/u/Jenne)\
**Replies:** 9\
**Last updated:** [October 31, 2025, 11:10am UTC](https://community.nginx.org/t/the-try-files-directive-is-evil-without-open-file-cache-static-instead-of-php/7787 "2025-10-31T11:10:44Z")

</div>

Me again… In order to have some possible solutions at hand I decided to install everything again from ground onto my Raspberry Pi. I made notes about every single step so just in case I can go back whenever something is…

---

## [What is = in try\_files?](https://community.nginx.org/t/what-is-in-try-files/6742)

<div class="topic-metadata">

**Author:** [@xlf](https://community.nginx.org/u/xlf)\
**Replies:** 2\
**Last updated:** [October 2, 2025, 9:49pm UTC](https://community.nginx.org/t/what-is-in-try-files/6742 "2025-10-02T21:49:29Z")

</div>

What does try\_files $uri $uri.html = @second do instead of try\_files $uri $uri.html @second what is = for?
