Showing 729 Result(s)

Nginx – How to add a Map Variable to a String

user1179459 asked: I have below configuration in my nginx.conf, however, for some reason, it doesn’t recognise the $site_name as a variable map $host $site_name { default example.com; } error_log /var/www/vhosts/{$site_name}/httpdocs/var/logs/nginx/error.log …