Welcome! Log In Create A New Profile

Advanced

можно ли использовать в map-е переменную, заданную в блоке server ?

Илья Шипицин
December 06, 2022 01:30AM
вот такой конструкт

====================================
map $myuri $myvar {
....
}

server {

set $myuri $uri;

}
=====================================
_______________________________________________
nginx-ru mailing list -- nginx-ru@nginx.org
To unsubscribe send an email to nginx-ru-leave@nginx.org
Subject Author Posted

можно ли использовать в map-е переменную, заданную в блоке server ?

Илья Шипицин December 06, 2022 01:30AM

Re: можно ли использовать в map-е переменную, заданную в блоке server ?

Maxim K December 06, 2022 02:48AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 85
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready