Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1899
  • Last Modified:

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
0
Data-Base
Asked:
Data-Base
1 Solution
 
Matt VCommented:
Change

location ^~/ {  

to

location ^~*/ {
0
 
QlemoC++ DeveloperCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now