NGINX reverse-proxy & case-insensitive ?

Hello,

we decide to start implement Linux in some part of our Windows Absolute dominant environment!

first use is to use a reversed-proxy, but our web-servers and web-services are "currently" windows

the problem we are facing is the URLs in windows they are case-insensitive and in Linux they are !!!!

how we can make Nginx case in sensitive ??? I know Nginx follow the OS file system

I found this http://forum.nginx.org/read.php?2,48527,55242#msg-55242

but I'm not sure how to implement it in our settings! how it will look like if we add it to the one under?

server {
    listen       80;
    server_name  srv1ora2;
    location ^~/ {

        allow all;
        proxy_pass http://192.168.1.123;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;

    }
}

Open in new window


Thanks
Data-BaseAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Matt VConnect With a Mentor Commented:
Change

location ^~/ {  

to

location ^~*/ {
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.