Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加虚拟主机失败 unknown directive "ssl_conf_command" #479

Open
xbclub opened this issue Feb 17, 2023 · 3 comments
Open

添加虚拟主机失败 unknown directive "ssl_conf_command" #479

xbclub opened this issue Feb 17, 2023 · 3 comments

Comments

@xbclub
Copy link

xbclub commented Feb 17, 2023

系统:Ubuntu 22.04
openssl版本:OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
nginx版本:Tengine 2.3.3
详细错误:添加虚拟主机时提示 nginx: [emerg] unknown directive "ssl_conf_command"
解决方案:更新脚本中Tengine默认版本为2.4.0

@deanet
Copy link

deanet commented Mar 19, 2023

i've same issue after upgrade. any solutions ?

@xbclub
Copy link
Author

xbclub commented Mar 22, 2023

i've same issue after upgrade. any solutions ?
I checked the compilation parameters of nginx with "nginx -V" and then downloaded the latest installation package to recompile it. After the compilation, don't forget to restart nginx.

@remxcode
Copy link

git仓库里查找对应版本的 vhost.sh 文件恢复回去即可

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants