How to use Nginx built-in variables. Why is this thing I wrote not feasible?
黄舟
黄舟 2017-05-16 17:23:23
0
1
447
access_log  /var/log/nginx/${server_name}-access.log;
error_log   /var/log/nginx/$server_name-error.log error;
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(1)
巴扎黑

Just remove the curly braces
For example
access_log /var/log/nginx/$server_name-access.log;

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template