I'm new at Nginx stuff. I've just migrated a website (which includes static files) from IIS to Nginx but some of my links are broken because of the case sensivity.
Please note that I've installed nginx on Debian. How can I tell Nginx these links are same :
http://s2.example.com/some/folder/kmplayer.exe
http://s2.example.com/some/folder/KmplayEr.exe
Note that I don't want to lower-case my file(s)/folder(s).. I want to make Nginx treat kmplayer.exe same as Kmplayer.exe or kmpLayeR.exe, in other words, I want to disable case sensitivity for my files..
Please help me. I've read all the articles on the internet but they didn't solve the problem.
My Server Block Configurations:
server {
listen 80;
server_name www.s2.example.com s2.example.com;
access_log /var/www/s2/logs/access.log;
error_log /var/www/s2/logs/error.log;
location / {
root /var/www/s2;
index index.html index.htm;
}
}