腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Nginx
404
on
static
html
文件
、
、
我已经在ubuntu 18.04上安装了
nginx
,但是我不能处理普通的
html
文件
,因为所有的东西都会给我一个
404
错误。这是我的
nginx
.conf (未修改): worker_processes auto;include /etc/
nginx
/modules-enabled/*/conf.d/*.conf; include
浏览 5
提问于2019-08-29
得票数 0
回答已采纳
3
回答
当debug为false时,静态
文件
的django +
Nginx
+ Gunicorn -
404
、
、
我不知道
nginx
是如何处理静态
文件
的upstream example.com { error_log //home/www/example/logs/
nginx
-error.log;
浏览 0
提问于2016-11-13
得票数 0
1
回答
nginx
在哪里存储默认错误页?
nginx
将它在磁盘上输出的默认错误页存储在哪里?例如,标准的
404
看起来像:找不到
404
希望这些是,而不是,硬编码到
nginx
源代码中。谢谢。
浏览 2
提问于2012-11-19
得票数 9
回答已采纳
1
回答
如何更改
nginx
错误页面?
、
我使用AWS ec2 ami和
nginx
以及node.js快递。比如快速错误处理程序..。我的
nginx
服务器块 listen 80 default_server; server_name localhost; root /usr/share/
ngi
浏览 1
提问于2017-08-03
得票数 0
回答已采纳
2
回答
在
404
html
nginx
静态网站中找不到相对路径js和css
、
我想在
nginx
中创建静态网站。我需要一个
404
.
html
,但它有一些js和css链接,路径是根,吹<link href="js/custom.js" rel="stylesheet">error_page
404
/
404
.
html</em
浏览 64
提问于2019-10-25
得票数 0
回答已采纳
4
回答
Nginx
配置中静态定位的多个位置
我有两个位置,我的应用程序将在其中提供静态
文件
,一个是/ my /path/project/
static
,另一个是/my/path/project/jsutils/
static
。下面是我在应用程序的
nginx
配置
文件
中的静态位置条目。location ^~ /
static
{ root /my/path/project/
s
浏览 0
提问于2013-04-01
得票数 6
1
回答
如何在码头运行上游随机指令的
nginx
负载均衡器
、
、
/index.php:/usr/share/
nginx
/
html
/index.php hostname: php7 image/index.php:/usr/share/
nginx
/
html
/index.phpupstream php { server php7
浏览 3
提问于2022-09-12
得票数 0
回答已采纳
3
回答
端口80上的Node.js
、
我有一个在端口3010 (domain.com:3010)上运行的Node.js应用程序。是否可以使其在端口80 (domain.com)上运行?
浏览 0
提问于2013-02-20
得票数 0
回答已采纳
2
回答
自定义Jekyll
404
页面在Heroku上不起作用
、
、
我已经在source/
404
.
html
文件
中创建了一个自定义的
404
错误页面。该页面可在mydomain.com/
404
/上找到。但是,当我尝试转到不存在的页面时,自定义的
404
页面不起作用。请注意,页面的固定链接没有
html
扩展名。这会是一个问题吗?
浏览 1
提问于2015-10-09
得票数 4
1
回答
Nginx
Wave Framework配置问题-警告:不支持
Nginx
HttpRewriteModule
、
、
、
、
在我的服务器上,我在我的
nginx
配置
文件
中添加了Wave建议的行,我仍然收到警告:“不支持
Nginx
HttpRewriteModule,索引网关和重写功能不能工作,如果不使用索引网关,则可以忽略此警告
nginx
.conf worker_processes 4;事件{http { 发送
文件
开始This用于确保/resources/静
浏览 3
提问于2014-07-18
得票数 1
1
回答
反向代理
Nginx
不代理
、
_1 | 2019/09/03 04:07:03 [error] 6#6: *12 open() "/etc/
nginx
/
html
/
static
/css/main.c0c280ad.css" failed_1 | 10.1.20.45 - - [03/Sep/2019:04:07:03 +0000] "GET /
static
/css/main.c0c280ad.
浏览 15
提问于2019-09-03
得票数 1
回答已采纳
3
回答
如何在
Nginx
和uWSGI上运行多个Django站点?
、
、
可以使用
Nginx
和uWSGI在同一台服务器上运行多个Django站点吗? 我认为有必要运行多个uWSGI实例(每个站点一个)。我将/etc/init.d/uwsgi复制到uwsgi2并更改了端口号。
浏览 0
提问于2011-10-30
得票数 11
回答已采纳
1
回答
使用docker将
nginx
默认页替换为自定义页
、
我正在尝试使用定制的
HTML
页面,而不是默认的
nginx
错误页面,比如400或
404
。我在我的教程的基础上在DockerFile中添加了下面的行,但是当我测试它时,它再次显示默认的
nginx
错误页面。FROM
nginx
:1.19.6RUN rm /etc&
浏览 4
提问于2021-12-31
得票数 -1
1
回答
使用
nginx
从给定目录的子目录中提供静态
文件
、
我的服务器上有几组静态.
html
文件
,我想使用
nginx
直接为它们提供服务。bar.
html
的.
html
文件
。; error_page
404
/
404
.
html
;.
html
{ alias
浏览 0
提问于2012-10-10
得票数 78
回答已采纳
2
回答
Python和
Nginx
问题
、
现在我有运行,但由于某些原因,我无法让
Nginx
代理它。我一直得到一个"
404
未找到“错误。main; # root /usr/share/
nginx
/
html
; indexindex.
html
index.htm;
浏览 4
提问于2016-12-06
得票数 1
回答已采纳
1
回答
nginx
:如何在多个位置使用多个根,包括/?(我的路径配置有什么问题?)
“某些页面”目前只是默认的/var/www/
html
/index.
nginx
-debian.
html
。<server IP>; index index.
html
; try_files $uri $uri/ =<
浏览 11
提问于2021-12-14
得票数 0
回答已采纳
1
回答
Nginx
根
文件
夹
当我在访问页面时,我看到
文件
夹中的
文件
而不是我已经在/etc/
nginx
/sites-available/default中设置了以下设置root /var/www/
html
/src/public; index index.
html
index.h
浏览 1
提问于2015-07-25
得票数 1
1
回答
Nginx
表示在尝试从持久存储中提供镜像时找不到
404
、
以下是我的
nginx
配置- server_name example.com www.example.com; /volume-bde-01/images;是连接到服务器的永久存储块。
浏览 0
提问于2020-05-21
得票数 0
1
回答
我无法正确地配置
nginx
上的位置指令。
、
、
我正在学习
nginx
配置,我发现了一个我无法解决的问题。我的
nginx
.conf
文件
中有这样的服务器上下文。= /prova { }本地DNS的主机
文件
是192.168.1.19ip6-localnetff02::1 ip6-allnodes现在,我希望当我输入时,
浏览 4
提问于2020-06-26
得票数 1
回答已采纳
1
回答
404
未找到
nginx
/1.6.3
、
、
、
当有人输入我的domain.com/的URL时...并且没有匹配的
文件
,它显示了一个简单的
404
not found错误页面。现在我想重定向所有那些输入错误URL的访问者,他们将重定向到我的主域。我在谷歌上搜索,在这里,我尝试了所有这些.htaccess方法,比如把RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/
404
/$RewriteRule ^(.*)$ /pages/errors/
404
浏览 3
提问于2016-08-20
得票数 1
点击加载更多
相关
资讯
nginx-实现四层协议的负载均衡
SpringBoot- 技术专题 -Websocket+Nginx出现404问题
Django+uwsgi+Nginx 部署过程
2023 唯美清新随机语录404单页HTML源码
JavaWeb 使用nginx负载均衡
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
云直播
活动推荐
运营活动
广告
关闭
领券