我正在设置一个新的服务器。我选择的http-Server是NGINX。我想添加域audi-freunde-einbeck.de作为虚拟主机。我已经有2个其他域名在那里,它工作得很好,但当我尝试添加上面提到的域名,并启动服务器,它给我Job failed. See system journal and 'systemctl status' for details.我认为这是因为破折号,所以我尝试了各种其他域名有和没有连字符,但没有运气。同样的错误。这可能是什么原因造成的?我也试过重启,我真的不知所措。任何帮助都将不胜感激。
我试了一下,发现,当我只放入一个域名时,它就能工作。但是
在kubernetes中尝试创建POD时获得以下错误。
# kubectl create -f nginx-deployment-prod.yaml
error: error validating "nginx-deployment-prod.yaml": error validating data: found invalid field spec for v1.ObjectMeta; if you choose to ignore these errors, turn validation off with --validate=false
YAML文件如下:
apiVe
当在sites-available (符号链接到sites-enabled)的文件中使用RTMP服务器块时,我很难让NGINX启动RTMP模块。NGINX配置文件都位于/etc/nginx/。
如果我在nginx.conf中直接使用下面的RTMP服务器块,服务器就会非常好地启动。但是,一旦我从include /etc/nginx/sites-enabled/*;行中删除nginx.conf中的注释,systemctl status nginx.service就会返回"nginx: [emerg] "rtmp" directive is not allowed here