# Nginx ignores the case of how to set URL?

**URL:** <https://www.ruby-forum.com/t/nginx-ignores-the-case-of-how-to-set-url/198148>\
**Category:** NGINX\
**Created:** [October 27, 2010, 8:07am UTC](https://www.ruby-forum.com/t/nginx-ignores-the-case-of-how-to-set-url/198148 "2010-10-27T08:07:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Post date:** [October 27, 2010, 8:07am UTC](https://www.ruby-forum.com/t/nginx-ignores-the-case-of-how-to-set-url/198148/1 "2010-10-27T08:07:00Z")

</div>

Does nginx ignores how to set up the case of URL, apache has  
CheckSpelling module, then nginx it?

Posted at Nginx Forum:

> **[nginx ignores the case of how to set URL?](https://forum.nginx.org/read.php?2,144863,144863#msg-144863)**
>
> Does nginx ignores how to set up the case of URL, apache has CheckSpelling module, then nginx it?

---

<div class="post-metadata">

**Author:** ![ronin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ad7895/32.png) [@ronin](https://www.ruby-forum.com/u/ronin)\
**Post date:** [October 27, 2010, 8:15am UTC](https://www.ruby-forum.com/t/nginx-ignores-the-case-of-how-to-set-url/198148/2 "2010-10-27T08:15:46Z")

</div>

On Wed, Oct 27, 2010 at 02:05:50AM -0400, ronin wrote:

> Does nginx ignores how to set up the case of URL, apache has  
> CheckSpelling module, then nginx it?

No. nginx relies on filesystem case ignorance.

CheckSpelling functionality causes a lot of syscalls: instead of  
open()/fstat()/close() it requires additionally  
opendir()/readdir()/closedir() which cause at least 9 syscalls on  
FreeBSD.  
They can be cached using nginx open\_file\_cache, but I think it’s  
better to use exact names: browsers do not ignore case when they cache  
response.

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**
