D
D
Darkhan Kutzhanov2016-06-21 15:40:11
Nginx
Darkhan Kutzhanov, 2016-06-21 15:40:11

How to configure Nginx file/folder paths to be case-insensitive?

Good afternoon! There is a folder with a bunch of html files, in which links to other files (html, pictures, etc.) in different registers, somewhere INDEX.HTM, somewhere index.htm. The server is on Linux, the files themselves came from the Windows server, they can be transferred to lowercase by a script, but editing all html files is not an option.
Please tell me how to configure Nginx so that the file is visible
sitename/images/logo.jpg
sitename/images/LOGO.JPG
sitename/IMAGES/logo.jpg
Tried like this. Does not work.

location ~* /images/ {
       }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton B, 2016-06-21
@dark_kz

Convert query to lowercase

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question