"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotwebd.conf global address settings
To:
gameoftrees@openbsd.org
Date:
Sat, 20 Aug 2022 06:06:59 +0200

Download raw body.

Thread
On Sat, Aug 20, 2022 at 05:49:04AM +0200, Stefan Sperling wrote:
>   fcgi_socket yes
>   listen on 127.0.0.1
>   port 9999
>   server foo { }
>   server bar { }
> 
> Instead, the above would now need to be written as:
> 
>   server foo {
>     fcgi_socket yes
>     listen on 127.0.0.1
>     port 9999
>   }
>   server bar {
>     fcgi_socket yes
>     listen on 127.0.0.1
>     port 9999
>   }

I got the syntax wrong above.
The current syntax actually looks like this:

   server foo {
      fcgi_socket yes {
        listen on 127.0.0.1
        port 9999
      }
   }

I have an upcoming patch to change this, though.