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
but when switching to nginx version 1.26.1, errors began to appear as follows: nginx: [emerg] invalid variable name in /etc/nginx/...
and nginx: [emerg] match part cannot contain variable during regex made in /etc/nginx/...
in the process of studying the problem, it was revealed that the $ symbol was to blame, but any attempts at escaping did not lead to success.
Only after changing regexp templates:
Previously, the configuration in nginx 1.22.0 was used with the lines:
but when switching to nginx version 1.26.1, errors began to appear as follows:
nginx: [emerg] invalid variable name in /etc/nginx/...
and
nginx: [emerg] match part cannot contain variable during regex made in /etc/nginx/...
in the process of studying the problem, it was revealed that the $ symbol was to blame, but any attempts at escaping did not lead to success.
Only after changing regexp templates:
the configuration was started successfully.
The text was updated successfully, but these errors were encountered: