In my nginx configuration file there're several identical values. Is there any way to specify a variable(s) or constant(s) for those in the beginning of a nginx config file, once, in order then to refer to it via a variable or constant?
If there's a way of achiving that via env. variables, it won't work for me. A variable will need to be set in an nginx file itself.