Nginx- njs: , JavaScript |
if
. , , , . nginx . , header: X-First X-Second. header, nginx: if-, .location /only-one-if {
set $true 1;
if ($true) {
add_header X-First 1;
}
if ($true) {
add_header X-Second 2;
}
-> https://habr.com/post/420465/?utm_source=habrahabr&utm_medium=rss&utm_campaign=420465