Welcome! Log In Create A New Profile

Advanced

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

Maxim K
December 06, 2022 02:48AM
Можно.


вт, 6 дек. 2022 г. в 13:31, Илья Шипицин <chipitsine@gmail.com>:

> вот такой конструкт
>
> ====================================
> 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
>
_______________________________________________
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: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready