<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>In my nginx.conf file on my Windows computerI have the following
code in nginx.conf.</p>
<div><span style="color: #cccccc;">http { </span><span
style="color: #6a9955;"># http context specific to HTTP
affecting all virtual servers </span></div>
<br>
<div><span style="color: #cccccc;"> </span><span
style="color: #6a9955;"># force incoming URLs to lower case</span></div>
<div><span style="color: #cccccc;"> map $uri $lowercase {~ ^(.+)$
/$1}</span><span style="color: #6a9955;">;</span></div>
<p></p>
<p>When I run nginx -t I get the following error.</p>
<p>nginx: [emerg] invalid variable name in C:\nginx/conf/nginx.conf</p>
<p>What am I dong incorrectly?</p>
<p><br>
</p>
<p>Thanks,</p>
<p> Victor<br>
</p>
<p><br>
</p>
<br>
<p></p>
</body>
</html>