http://moq7aejnf4xk5k2bkaltli3ftkhusy2mbrd3pj23nrca343ku2mgk4yd.onion/stuff/article/nginx_recipes_and_tips?lang=en
Update: Oh, I realised that you can declare variables in http block using
map directive with default set to value you need. Funny, I’ve been using
map to prevent LAN IPs from being logged all this time, heh. So, here’s example:
map 1 $root {
default /srv/http/dwelling;
} RSS рус eng v25.27.1 © 2017—2024 Alexander ❝Arav❞ Andreev <
[email protected] > Privacy statements