腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(148)
视频
沙龙
1
回答
Centos7
Nginx
mod_security
-
未知
指令
"
ModSecurityEnabled
“
nginx
、
module
、
centos
、
mod-security
通过yum安装了
nginx
/
nginx
-module-security / libmodsecurity。创建于: /usr/lib64/
nginx
/modules/ngx_http_modsecurity_module.so
nginx
.conf: user
nginx
;error_log /var/log/
nginx
/
浏览 71
提问于2019-02-27
得票数 0
1
回答
如何从响应头中完全删除apache信息
apache
在googling之后,我发现可以通过设置ServerTokens和ServerSignature
指令
来控制这些信息。 "ServerTokens prod“将只显示响应头中的'Apache‘。
浏览 3
提问于2013-12-27
得票数 0
2
回答
在
nginx
上安装modsecurity
nginx
、
mod-security
今天,我为
nginx
安装了
mod_security
。我将以下代码块添加到/etc/
nginx
/
nginx
listen 80;
ModSecurityEnabled
on;} 重启
Nginx
后,我得到了以下错误:
nginx
: [emerg] unk
浏览 2
提问于2014-04-23
得票数 2
1
回答
特定php文件的
nginx
规则
nginx
、
php
我在我的web服务器上使用
nginx
和modsecurity和php-fpm。下面是我的
nginx
配置:
ModSecurityEnabled
fastcgi_param PATH_INFO $fastcgi_script_name;
浏览 0
提问于2015-01-28
得票数 0
3
回答
Nginx
未知
指令
"if“
nginx
、
http-referer
、
nginx-location
在我的
Nginx
服务器上,为了节省时间,我创建了etc/
nginx
/include.conf de.conf,并将这一行放在etc/
nginx
/sites available/site1.conf中:include.conf的内容: return 403; 在测试conf文件时,会出现以下错误: emerg
未知
指令
更新:
nginx
-V提供
浏览 1
提问于2017-03-08
得票数 0
回答已采纳
1
回答
重新加载
nginx
配置:
nginx
失败
nginx
为什么
nginx
不重写?“失败重新加载
nginx
配置:
nginx
失败!”
浏览 0
提问于2014-05-20
得票数 0
回答已采纳
1
回答
docker run命令最后出现在:
nginx
:[emerg] /etc/
nginx
/
nginx
.conf:1中
未知
指令
"events“中。
nginx
、
docker
、
configure
、
events
我已经在我的桌面Windows10O.S中安装了来自Ubuntu的
nginx
-附加程序。它需要为ASP.NET Core3.1BLazor web程序集应用程序旋转一个对接容器,以服务静态网页。我的
nginx
.conf: http { types {1#1: /et
浏览 0
提问于2020-04-30
得票数 1
1
回答
如何解决更新配置文件后重新启动
nginx
失败的问题
server
、
nginx
、
aws
我有问题,重新启动
nginx
重新启动。我对ubuntu和nginix非常陌生。我正在尝试更改
nginx
.conf和default.conf(新创建的)的配置。/conf.d/*.conf;如果我尝试使用以下命令"sudo service
nginx
restart“重新启动
nginx
,则得到以下错误:Nov 21 12:23:42 ip-172-31-23-90
浏览 0
提问于2020-11-21
得票数 0
回答已采纳
1
回答
在centos中
nginx
的配置在哪里?
nginx
、
centos
、
gitlab
我在
centos7
中安装了GitLab,现在我正尝试在https上运行GitLab。根据的说法,我需要在/etc/
nginx
/sites-enabled/gitlab中更改一些配置
指令
,但我的系统中没有这样的文件。您能告诉我配置文件在我的箱子里的什么地方吗?
浏览 2
提问于2015-09-04
得票数 1
3
回答
如何使用自定义配置运行
Nginx
码头容器?
nginx
、
docker
、
containers
我有一个Dockerfile和自定义
Nginx
配置文件(与Dockerfile位于同一个目录),如下所示:FROM
nginx
nginx
.conf文件: least_conn;docker --tls r
浏览 2
提问于2015-05-10
得票数 47
回答已采纳
1
回答
413请求实体太大,使用CodeIgniter: phpinfo()表示适当的最大大小
php
、
codeigniter
、
upload
、
large-files
、
http-status-code-413
当我在CodeIgniter中使用上传功能时,如果我试图上传一个大于20M的pdf文件,我要么得到一个"404文件找不到“,要么一个413个请求实体太大。我可以看到它是“上传nn%",高达97%或98%,然后它退出并给我一个错误。如果我回显phpinfo(),我可以看到以下内容:post_max_size = 256M 我将以下内容放在.htaccess文件中(这是在另一个问题上提出的),但这并没有帮助: <IfModule mod_
浏览 9
提问于2016-10-13
得票数 1
回答已采纳
2
回答
NGINX
1.11.5滤镜模块
未知
指令
nginx
、
module
我有
NGINX
v 1.11.5,这是来自
nginx
-V的响应:
nginx
version:
nginx
/1.11.5 built with OpenSSL 1.0.1 14 Mar 2012/
nginx
/error.log --lock-path=/var/lock/
nginx
.lock --pid-path=/run/
nginx
.pid --modules-path=
浏览 0
提问于2018-05-17
得票数 3
1
回答
Nginx
未知
指令
"proxy_pass“
nginx
我对
nginx
配置有问题。listen 80; proxy_pass http://172.16.0.70:33000;}有人知道我错过了什么或者我做错了什么吗?谢谢。
浏览 1
提问于2016-03-15
得票数 7
回答已采纳
1
回答
带有自定义配置文件的Docker
Nginx
:
未知
指令
"server“
docker
、
nginx
我创建了一个自定义
Nginx
配置文件,该文件给出了错误:和
nginx
.conf listen 80;docker build -t
nginx</em
浏览 0
提问于2021-02-06
得票数 0
1
回答
安装了
Nginx
第三方模块subs_filter但没有工作返回
未知
指令
nginx
我之前安装了
Nginx
,并重新编译了一次,以便使用通常的./配置和make流程添加两个新模块。
Nginx
运行良好,但是当我在sub_filter文件中调用.conf文件时,会得到一个错误版本和编译信息告诉我模块在那里(第三方模块),我需
浏览 12
提问于2014-10-16
得票数 2
回答已采纳
1
回答
错误:
nginx
:[emerg]
未知
指令
“听:”在/etc/
nginx
/conf.d/etc/
nginx
/default.conf中,当通过docker组合将本地默认值安装到
nginx
时
nginx
、
docker-compose
在将default.conf安装到/etc/
nginx
/con.d/default.conf:ro将错误作为
未知
指令
返回错误时获取错误version: "3"
nginx
: ports: volumes: - ./
ng
浏览 3
提问于2022-04-04
得票数 0
1
回答
nginx
:
未知
指令
“位置”
nginx
.*)$ /index.php/$1 last;}[emerg]: unknown directive "location" in /opt/
nginx
/conf/
nginx
.conf
浏览 2
提问于2010-11-26
得票数 3
1
回答
Nginx
错误:
未知
指令
重写
linux
、
mod-rewrite
、
nginx
、
passenger
我在我的
nginx
.conf中重写了: server_name example.com;}你能帮帮我吗?
浏览 0
提问于2011-10-21
得票数 0
回答已采纳
3
回答
docker run命令最后出现在:
nginx
:[emerg] /etc/
nginx
/
nginx
.conf:1中
未知
指令
“events”中。
docker
、
nginx
、
containers
、
config
、
server-sent-events
我已经在我的桌面Windows10O.S中安装了来自Ubuntu的
nginx
-附加程序。它需要为ASP.NET Core3.1BLazor web程序集应用程序旋转一个对接容器,以服务静态网页。我的
nginx
.conf: http { types { application/wasmCOPY
nginx
.conf /etc/
nginx
/
nginx
.conf
浏览 5
提问于2020-04-30
得票数 1
3
回答
nginx
未知
指令
"upstream“
django
、
ubuntu
、
nginx
、
gunicorn
我使用
nginx
作为代理服务器,将请求转发到我的gunicorn服务器上。当我运行sudo
nginx
-t -c /etc/
nginx
/sites-enabled/mysite时,我得到以下错误。[emerg]: unknown directive "upstream" in /etc/
nginx
/sites-enabled/mysite:1 configuration file /etc/
ng
浏览 1
提问于2011-10-21
得票数 24
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Redis的简单使用
CentOS7 在已安装好的Nginx 增加nginx-push-stream-module
CentOS 配置 Nginx 反向代理
搭建Ghost博客详细教程之Ghost安装与部署
通用开发环境运维配置
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券