You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It it quite convenient to use map in nginx configuration. You can map tokens and secrets to hosts, but you cannot do the same with whitelists and boolean-ish variables. Current code only check for variable presence, you cannot explicitly disable things.
I suggest to add an extra check for currently problematic variables. Instead of
ifwhitelistthen-- stuffend
let's do
ifwhitelistandwhitelist:len() >0then-- stuffend
Setting ngo_secure_cookies to false should also work.
The text was updated successfully, but these errors were encountered:
It it quite convenient to use
map
in nginx configuration. You can map tokens and secrets to hosts, but you cannot do the same with whitelists and boolean-ish variables. Current code only check for variable presence, you cannot explicitly disable things.I suggest to add an extra check for currently problematic variables. Instead of
let's do
Setting
ngo_secure_cookies
tofalse
should also work.The text was updated successfully, but these errors were encountered: