Hello,
I have the following directive in Nginx configuration:
location /docs {
add_header Access-Control-Allow-Origin $cors_origin;
}
$cors_origin comes from the map {} where the value is set to * or something
else.
I have noticed that if $cors_origin is set to 0, add_header doesn’t add
A
us
-Original Message-
From: nginx On Behalf Of Maxim Dounin
Sent: Monday, March 27, 2023 7:09 PM
To: nginx@nginx.org
Subject: Re: nginx configuration variable interpolation
Hello!
On Mon, Mar 27, 2023 at 03:24:06PM +, Vilius Šumskas wrote:
> I have the following directive in Nginx