Спасибо!
Свою задачу я решил следующим образом:
test1.html
test1
<!--# if expr="$allow_test2 = 1" -->
<!--# include file="/test2.html" -->
<!--# endif -->
Конфиг:
map $cookie_user_id:$request_uri $allow {
default 0;
1234:/path/page1.html 1;
4567:/path/page1.html 1;
}
server {
ssi on;
location = /test1.html {
}
location = /test2.html {
internal;
}
}
Posted at Nginx Forum:
https://forum.nginx.org/read.php?21,274370,274416#msg-274416
_______________________________________________
nginx-ru mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-ru