我有一些服务器在nginx使用我的configuration文件,但是我需要能够添加一个if或一个variables来改变
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
至
ssl_protocols TLSv1;
这可能吗?
我已经尝试了一个if语句,但得到
"ssl_protocols" directive is not allowed here