In my nginx.conf file on my Windows computerI have the following code in nginx.conf.

http { # http context specific to HTTP affecting all virtual servers

# force incoming URLs to lower case
    map $uri $lowercase {~ ^(.+)$ /$1};

When I run nginx -t I get the following error.

nginx: [emerg] invalid variable name in C:\nginx/conf/nginx.conf

What am I dong incorrectly?


Thanks,

   Victor


_______________________________________________
nginx mailing list
nginx@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to