腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(982)
视频
沙龙
1
回答
“
server
”
指令
在
/
usr
/
local
/
apps
/
nginx
/
etc
/
conf.d
/
中
是
不允许
的
,
我
在这里
做
错了
什么
?(
0
回复
,16次
阅读
)
nginx
我
得到了这个错误: "
server
" directive is not allowed here in /
usr
/
local
/
apps
/
nginx
/
etc
/
conf.d
/mydomain.com.conf:1
nginx
: configuration file /
usr
/
local
浏览 39
提问于2014-12-24
得票数 0
1
回答
如何正确使用投影卷和configMaps
的
子目录
docker
、
kubernetes
、
subdirectory
、
docker-volume
我
先
在这里
贴出
我
在
码头群里已经做过
的
事,然后
我
在库伯奈特斯做了些
什么
。FROM "
nginx
:1.19.1-alpine" AS
nginx
[...]基本上,
我
设置了映像,以便将自定义
的
nginx
配置文件放置到/
usr
/
local
/
etc
浏览 3
提问于2020-08-01
得票数 1
回答已采纳
3
回答
nginx
上游配置
在
单独
的
文件
中
nginx
我
在
10.0.0.1
的
nginx
上有一个带有简单配置文件
的
站点:
server
{
server
_name
server
.com; root /www; } 此外,
我
还想将请求重定向到端口8888上具有相同应用程序
的</
浏览 8
提问于2017-03-02
得票数 2
1
回答
这里
不允许
使用
Nginx
[emerg] "
server
“
指令
nginx
我
在
NGinx
上遇到了问题--也许是
我
的
错,但我找不到解决办法。 根@openvpn
浏览 0
提问于2018-07-02
得票数 0
回答已采纳
2
回答
当403号
在
CentOS 7上被禁止时,如何正确设置
Nginx
?
nginx
、
centos7
:
在
/
etc
/
nginx
/
nginx
.conf
中
include /
etc
/
nginx
/
conf.d
/*.conf; listen
在
/
etc
/
nginx
/sites-available
浏览 7
提问于2017-07-25
得票数 2
回答已采纳
2
回答
在
nginx
/nxgin代理容器中使用Nextcloud与其他服务
docker
、
nginx
、
nextcloud
、
jwilder-nginx-proxy
在
orde
中
,
我
想配置所有内容,以便当我尝试:http//my-
server
.com/nextcloud时,我会看到附件云,而当我执行http//my-
server
.com/ sonarr‘时,我会使用
我
创建了一个类似于:
nginx
的
目录,其中包含与
nginx
相关
的
所有内容。
在
nginx
nexcloud
中</em
浏览 4
提问于2017-08-19
得票数 1
1
回答
使用
Nginx
Docker容器运行初始化脚本
docker
、
nginx
、
dockerfile
、
docker-entrypoint
我
正在创建一个
Nginx
坞映像,
我
将在AWS中使用它作为ECS/Fargate
中
的
反向代理组件。
我
使用官方
的
Nginx
图像作为基本图像(1.17.5)。
我
希望容器
在
参数化批处理脚本.之后继续启动
Nginx
。| jq '.Parameters[
0
].Value' -r > /
etc
/
nginx
浏览 1
提问于2019-11-12
得票数 0
回答已采纳
1
回答
在
/
etc
/
nginx
/
nginx
.conf:1
中
不允许
使用Error -
nginx
:[emerg] "
server
“
指令
。
docker
、
nginx
我
用
Nginx
、PHP-7.4-fpm、PhpMyAdmin和MariaDB创建了一个docker-come.yml文件,
我
的
docker-compose.yml
的
执行已经成功部署,但是
Nginx
容器有一个错误:
nginx
: emerg "
server
“
指令
在
/
etc
/
nginx
/
nginx
.conf:1
中</e
浏览 1
提问于2020-01-21
得票数 0
1
回答
Docker -
Nginx
在
配置文件更改时自动重新加载
docker
、
nginx
、
docker-compose
/
nginx
/
conf.d
:/
etc
/
nginx
/
conf.d
:ro
我
正在寻找一种方法,让容器内
的
nginx
服务
在
我
更改
conf.d
文件夹内
的
任何内容以及位于与
conf.d
文件夹相同级别的
nginx
.conf
我
在这里
找到
的
最接近
的</
浏览 300
提问于2020-09-25
得票数 3
回答已采纳
1
回答
504网关超时媒体庙宇
php
、
timeout
、
mediatemple
、
http-status-code-504
当我
的
php脚本需要运行超过60秒时,
我
经常会收到504个Gateway错误。下面
是
我
的
have...see LoadModule fcgid_module modu
浏览 2
提问于2012-10-01
得票数 8
3
回答
"sh -c“
是
干
什么
的
?
node.js
、
docker
、
unix
、
sh
、
google-cloud-run
我
正试图
在
我
的
快递应用程序中使用
nginx
,并
在这里
学习教程。最后
我
看到了这个命令 CMD sh -c "envsubst '\$PORT' < /
etc
/
nginx
/
conf.d
/configfile.template > /
etc
/
nginx
/
conf.d</
浏览 9
提问于2022-11-12
得票数 0
回答已采纳
4
回答
nginx
错误: /
etc
/
nginx
/
nginx
.conf:76
中
不允许
使用“location”
指令
nginx
当我使用sudo service
nginx
重新启动
nginx
时,
在
/
etc
/
nginx
/
nginx
.conf:76
nginx
:配置文件/
etc
/
nginx
/
nginx
.conf
中
不允许
重启
nginx
:
nginx
: emerg "l
浏览 0
提问于2013-12-05
得票数 39
5
回答
从Docker容器内部使用XDebug进行远程调试不起作用
php
、
intellij-idea
、
docker
、
xdebug
、
remote-debugging
>> /
usr
/
local
/
etc
/php/php.ini echo xdebug.remote_enable=1 >> /
usr
/
local
/
etc</em
浏览 3
提问于2015-06-02
得票数 19
5
回答
如何在与码头一起使用时更改
nginx
端口
docker
、
nginx
我
是
一个码头初学者,
我
做
的
第一件事就是下载
nginx
并尝试
在
80:80端口上挂载它,但是Apache已经坐在那里了。docker container run --publish 80:80
nginx
我
尝试像这样
做
3000:3000
在
端口3000上使用它,但它不工作,.And,它也不记
浏览 10
提问于2017-11-18
得票数 20
回答已采纳
1
回答
Nginx
错误(/
etc
/
nginx
/sites enabled/abc
中
不允许
使用http
指令
)
nginx
我
在
启动
Nginx
服务时遇到以下错误这是
我
的
abc配置error_log/
usr
/
local
/openresty/
nginx
/
浏览 2
提问于2017-06-08
得票数 0
31
回答
NGinx
默认公共www位置?
nginx
我
以前使用过Apache,所以我知道默认
的
公共web根目录通常是/var/www/。
nginx
的
默认公共web根在哪里?
浏览 4
提问于2012-05-20
得票数 346
回答已采纳
2
回答
通过
NGINX
在
Docker上提供角10应用程序
angular
、
docker
、
nginx
COPY
nginx
.conf /
etc
/
nginx
/
nginx
.conf COPY dist/myapp/ .在这样
做
时,
在
dist文件夹之外发送无用
的
内容需要花费大量时间。
我
在
日志
中
查找了一些东西,但是docker logs m
浏览 0
提问于2020-09-27
得票数 2
回答已采纳
1
回答
Nginx
error -Starting
nginx
:
nginx
: emerg未知“状态”变量
nginx
我
尝试使用
nginx
做
的
是
-调用后端进行身份验证,如果响应成功,
我
将重定向到网站1(例如-google.com),如果身份验证失败,
我
将重定向到website2(例如facebook)。下面
是
我
的
nginx
.conf-
浏览 0
提问于2016-06-28
得票数 2
2
回答
提高豆秆节on环境
中
nginx
的
worker_connections
amazon-web-services
、
amazon-elastic-beanstalk
、
amazon-linux-2
我
试图
在
我
的
Beanstalk服务器(Amazon 2)上增加可能
的
nginx
的
数量。
我
遵循文档并创建了一个包含以下内容
的
文件.platform/
nginx
/
conf.d
/proxy.conf:events {}
在
部署时,
我</e
浏览 9
提问于2021-02-24
得票数 3
回答已采纳
3
回答
Docker工具箱Xdebug不使用PhpStorm
php
、
docker
、
phpstorm
、
xdebug
我
尝试了
我
在
互联网上找到
的
所有教程,但仍然不能使用PhpStorm
中
的
一个简单
的
断点,使用docker ./
usr
/
local
/
etc
/php/
conf.d
/docker-php-ext-xdebug.ini; \ echo "xdebug.remote_port=9001" >> /<em
浏览 2
提问于2019-10-21
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
面试的加分项:懂点 Nginx 反向代理与负载均衡
还不会 Docker?这次全给你讲清楚
用容器来学习Nginx反向代理
Linux常用软件安装总结
Let’s Encrypt实践指北
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券