Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question