Re: what is my syntax error

2024-03-07 Thread Sergey A. Osokin
On Thu, Mar 07, 2024 at 03:20:23PM -0500, Victor Oppenheimer wrote: > 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 {

what is my syntax error

2024-03-07 Thread Victor Oppenheimer
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] i