腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
nginx
-如何使用/status创建stub_status
nginx
、
newrelic
head><title>404 Not Found</title></head><center><h1>404 Not Found</h1></center></body>这是我的
nginx
文件(它也使用certbot
浏览 4
提问于2020-06-08
得票数 4
回答已采纳
1
回答
nginx
localhost
配置文件
不起作用
php
、
nginx
下面是pcm.conf文件的内容: # access from
localhost
only log_not_found off; deny all
浏览 12
提问于2016-08-18
得票数 0
2
回答
Nginx
,WSGI,Django -建立web服务器
python
、
django
、
nginx
、
webserver
、
wsgi
我对设置web服务器非常陌生,并一直遵循以下指南:由于我正在使用mac,所以我通过Homebrew:brew install
nginx
安装了
nginx
。我一直在努力让我的
nginx
服务器为Django静态文件服务。我遵循了指南,复制了它们的mysite_
nginx
.conf,并根据我的项目路径更改了它: # the upstream component
nginx
needs我也尝试过将它更改为127.0.0.1 (因为我在本地主机上运行
浏览 1
提问于2017-08-30
得票数 0
1
回答
在Windows下用Grafana在
NGINX
上配置反向代理
grafana
、
influxdb
上下文:我想在
NGINX
上为运行在本地的grafana服务器配置反向代理,有什么方法可以做到吗?没有找到任何相关的话题。 注意:无法为此使用IIS。
浏览 3
提问于2021-12-23
得票数 0
回答已采纳
1
回答
nginx
: [warn] conflicting server name "
localhost
"?
开发者实验室
、
nginx
请描述您的问题 [附加信息]
浏览 294
提问于2022-03-06
1
回答
如何用docker文件覆盖
nginx
默认配置?
docker
、
nginx
、
dockerfile
、
nginx-config
我使用的是
nginx
服务器,它工作正常。但是,刷新页面会给我
nginx
404错误。我知道我需要重写
nginx
配置文件
才能让它工作,但不知道为什么它不能工作。我尝试向
nginx
.conf添加某种重定向,只是想看看它是否覆盖了default.conf,但它
不起作用
。以下是我的文件: Dockerfile: FROM
nginx
:alpine COPY ./
nginx
/default.conf /etc/
ng
浏览 41
提问于2019-01-15
得票数 1
1
回答
Nginx
重写本地主机到/usr/share/
nginx
/静态
nginx
、
url-rewriting
我希望http://
localhost
/static/的每一个请求都指向/usr/share/
nginx
/static。例如,用户请求http://
localhost
/static/style/style.css,我希望服务器使用/usr/share/
nginx
/static/style/style.css的内容进行答复这是我的代码(<
浏览 1
提问于2018-07-06
得票数 1
回答已采纳
1
回答
如何在
Nginx
配置中更改根路径
docker
、
nginx
、
nginx-reverse-proxy
、
nginx-config
我创建了一个简单的HTML应用程序,并试图使用
nginx
服务器托管它。<!</body> DockerfileCOPYindex.html /usr/share/
nginx
/html
浏览 3
提问于2021-10-21
得票数 0
1
回答
从本地主机访问时出错:
NGINX
uWSGI
django
、
nginx
、
docker
、
uwsgi
当通过端口ip为容器尝试
nginx
时,应用程序是可以访问的,没有任何问题;但是,当尝试使用
localhost
:9999访问主机url (
nginx
使用端口9999)访问它时:9999我可以访问
nginx
/logs/
nginx
/:/opt/my-logs/
nginx
/ build: ./uwsgi_params;} 编辑这是
NGINX
的my Do
浏览 1
提问于2016-07-24
得票数 2
回答已采纳
1
回答
使用docker将
nginx
默认页替换为自定义页
docker
、
nginx
我正在尝试使用定制的HTML页面,而不是默认的
nginx
错误页面,比如400或404。我在我的教程的基础上在DockerFile中添加了下面的行,但是当我测试它时,它再次显示默认的
nginx
错误页面。FROM
nginx
:1.19.6RUN rm /etc/
nginx
/sites-enabledURL
浏览 4
提问于2021-12-31
得票数 -1
1
回答
带有
nginx
和docker的RaspberryPi webserver仅显示欢迎使用
nginx
php
、
docker
、
nginx
、
raspberry-pi
、
webserver
这是我的停靠-撰写文件:services: image:
nginx
:latest - "8080:80"/var/www/htmlserver { listen 80; error_log /var/log/<
浏览 7
提问于2022-06-04
得票数 0
回答已采纳
1
回答
将
nginx
配置为websocket的代理
nginx
、
proxy
、
websocket
我有一个带有websocket的应用程序,它位于:我想使用
nginx
作为代理,但是连接的转发
不起作用
。这是我的
配置文件
: server 127.0.0.1:8888; listen 80; Ubuntu 12.04使用
nginx
1.1的船舶。
浏览 3
提问于2014-07-06
得票数 1
1
回答
出现
Nginx
url端口。
php
、
nginx
、
https
、
port
、
termux
我在Termux上托管了一个使用php-fpm和
nginx
的网站,每次我输入url
localhost
/东西,它就会重定向到
localhost
:8443/东西,我不想看到端口8443,该如何解决呢?键入url
localhost
/ to,它将重定向到
localhost
:8443/something
浏览 22
提问于2022-12-04
得票数 0
2
回答
用一台
nginx
服务器运行多个web应用
javascript
、
node.js
、
linux
、
nginx
、
server
另外,我听说
nginx
可能可以做到这一点。我想像下面这样的例子
Localhost
:3001 ->subdomain.domain.com
Localhost
:3002 -> www.anotherdomain.com
浏览 0
提问于2021-07-13
得票数 1
2
回答
nginx
index.html修改后不更新
nginx
我刚刚在Ubuntu服务器上安装了
nginx
:sudo apt-get -y install
nginx
sudo service
nginx
stopsudo service
nginx
restart
浏览 3
提问于2016-11-16
得票数 7
1
回答
nginx
重写url
不起作用
.htaccess
、
nginx
我正在尝试将新位置添加到我的
nginx
配置中。我设置了ngix来折叠。现在,我认为
配置文件
中对我来说最重要的一行是:因此,它包含sites-enabled文件夹中的所有
配置文件
。现在,我有一个default和一个default-ssl
配置文件
。ssl/
localhost
.crt; ssl_certificate_key
浏览 2
提问于2015-09-15
得票数 0
2
回答
如何使用
nginx
将地址重定向到另一个码头容器?
docker
、
nginx
、
redirect
、
nginx-config
、
docker-networking
我试图使用
nginx
重定向到坞容器,但是当从“外部pc”(主机和其他迷途机器)访问我的服务器时,地址无法解析。默认
nginx
conf:listen 80;server_name
localhost
;#access_log /var/log/
nginx
/host.access.log main; return 301 ht
浏览 4
提问于2022-05-06
得票数 1
1
回答
使用
NGINx
的NodeJS和使用Apache的Moodle
node.js
、
apache
、
nginx
、
moodle
我想使用
NGINx
作为反向代理来为我的节点应用程序提供服务,但保留Moodle部分,例如: 用户转到www.myweb.com并看到node (MEAN stack)应用程序,然后他/她可以转到www.myweb.com.cn
浏览 1
提问于2017-02-12
得票数 0
1
回答
如何在同一个快速服务器上同时运行客户端和API?
express
我有一个React/Redux应用程序,它使用了一个API端点。我目前正在一台服务器上呈现React/Redux客户端,在另一台服务器上呈现我的API --两者都使用express。如何在同一台服务器上运行它们。我是否只为我的客户端提供静态dir,并为服务器添加GET/POST/等等,如下所示: //... app.post('/api/users', func
浏览 1
提问于2016-06-07
得票数 3
回答已采纳
1
回答
使用
nginx
重写url的yii2
php
、
nginx
、
yii2
我正在尝试使用
Nginx
来重写url,使其更加用户友好。删除index.php?r=是成功的,但问题是,在我尝试访问其他页面后,它显示404未找到。我已经在config/web中添加了漂亮url的url管理器,但它
不起作用
。有人能帮我一下吗?server { server_name
localhost
; location / {
浏览 2
提问于2016-02-22
得票数 2
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券