Link to home
Start Free TrialLog in
Avatar of Data-Base
Data-BaseFlag for Norway

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of Matt V
Matt V
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Qlemo
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.