当在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
据我所知,只要升级openssl (很久以前就已经完成了,现在重新安装了所有可用的更新(没有openssl ))并重新启动nginx就足够了。我甚至尝试完全停止nginx (用ps验证它)并重新启动它。
但ssllabs仍然告诉我,我很脆弱。我还需要做什么,或者是什么会导致它仍然脆弱?
版本:
ii nginx 1.9.10-1 all small, powerful, scalable web/proxy server
ii nginx-common
当我试图启动nginx或apt重新加载时,我会得到以下错误:
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2022-05-17 04:46:59 UTC; 8ms ago
Docs: man:nginx
我使用的是vps,它有centOS 6.5。我清楚地安装了Nginx、php和mySql。但是,当我试图通过phpMyAdmin安装这些步骤时,在第三步,当我输入以下代码时:
sudo yum install phpmyadmin
它在运行过程中返回此错误:
Error: php56w-common conflicts with php-common-5.3.3-40.el6_6.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofil
如何卸载Ubuntu 11.04上passenger安装过程中安装的nginx?
我应该直接使用gem uninstall passenger吗?这也会移除nginx吗?
这是我在运行apt-get remove时看到的内容
sudo apt-get remove nginx-common nginx-full
Reading package lists... Done
Building dependency tree
Reading state information... Done
**Package nginx-common is not installed, so not
我正在尝试使用chef中的包管理器并安装nginx服务器,但是每次我在我的客户机上运行烹饪书时,它只是说
Recipe: nginx::default
*nginx action install2017-03-11T06:16:01-05:00 INFO: Processing yum_packagenginx action install (nginx::default line 11)
* No candidate version available for nginx
=========================================================
我想在linux centos上安装gzip我的web服务器是nginx如何安装我在重新加载Nginx后收到以下错误
[root@server ~]# /etc/init.d/nginx reload
nginx: [emerg] "gzip" directive is not allowed here in /etc/nginx/nginx.conf:131
nginx: configuration file /etc/nginx/nginx.conf test failed
谢谢