E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
autoindex
nginx搭建文件服务器
html;#Loadconfigurationfilesforthedefaultserverblock.include/etc/nginx/default.d/*.conf;location~/${
autoindex
on
王的星球
·
2023-07-17 18:50
Day37nginx常用模块
需要的服务器角色外网ip内网ip主机名webeth0:10.0.0.7eth1:172.16.1.7web01
autoindex
目录索引[root@web01~]#cat/etc/nginx/conf.d
a幕城
·
2023-07-16 11:41
Nginx常用模块
Nginx常用模块文章目录Nginx常用模块1.Nginx常用模块1.1.Nginx目录索引/下载模块1.1.1.配置
autoindex
语法1.1.2.
autoindex
配置实例1.1.3上传资源1.1.4
Jiangxl~
·
2023-07-13 15:16
nginx
运维
NGINX同时发布JMETER报告和禅道、SONAR
server_namelocalhost;#charsetkoi8-r;charsetutf-8;#access_loglogs/host.access.logmain;location/report{
autoindex
on
9016
·
2023-06-24 03:30
Nginx常用模块
Nginx常用模块1.nginx开启目录浏览提供下载功能默认情况下,网站返回index指定的主页,但如果该网站不存在主页,则将请求交给
autoindex
模块如果开启
autoindex
模块,则提供一个下载的页面
沽铭
·
2023-06-17 05:37
Nginx配置 隐藏入口文件index.php
Nginx配置文件里放入这段代码server{location/{indexindex.phpindex.htmlindex.html.php;
autoindex
on;if(!
烟囱土著
·
2023-06-11 15:27
起步
linux系统下nginx配置静态文件访问
假设在linux系统上你想要访问的文件放在/usr/view/文件夹下:那么你在server下配置:location/view/{root/usr/;
autoindex
on;}或者location/view
天秀我阿阳
·
2023-06-10 08:17
linux
nginx
【运维知识进阶篇】集群架构-Nginx常用模块(目录索引+状态监控+访问控制+访问限制)
ngx_http_
autoindex
_module模块处理以斜杠字符(’/’)结尾的请求,并生成目录列表。当ngx_http_index_module模块找不到索
我是koten
·
2023-06-07 21:01
运维知识分享
进阶运维知识
nginx
运维
linux
centos
架构
Nginx 配置静态资源服务器
windows下的配置:server{listen9001;server_nameresource;rootD:\\fe\\resource;
autoindex
on;location/{add_headerAccess-Control-Allow-Origin
RulerMike
·
2023-04-21 08:01
nginx 搭建下载服务器
listen8081default_server;charsetutf8;location/{}location/down{alias/usr/local/nginxDownServer;#只能有一个root,其他使用alias
autoindex
on
idiot_qi
·
2023-04-18 00:37
服务器
nginx
运维
Day_39 nginx常用模块
1.nginx开启目录浏览,提供下载功能默认情况下,网站返回index指定的主页,但如果该网站不存在主页,则会将请求交给
autoindex
模块,如果开启
autoindex
模块,则提供一个下载页面,如果没有开启
林深见鹿出
·
2023-04-17 13:07
Nginx显示文件目录并且设置下载
Loadconfigurationfilesforthedefaultserverblock.location/var/logs/{#可以指定也可以全部,全部就用/alias/var/logs/;#指定实际目录绝对路径
autoindex
on
寻绾
·
2023-04-14 06:12
linux
nginx
nginx
nginx配置文件下载并且目录展示
1.windows2.路径如D:/im-az/server/download下面有各种文件3.配置location/download{rootD:/im-az/server;
autoindex
on;#开启目录浏览功能
javamangguo
·
2023-04-14 06:34
nginx
运维
Nginx专题-开启认证并开放指定下载目录
Nginx开放指定下载目录本案例演示使用nginx的ngx_http_
autoindex
_module模块开启路径访问,支持文件下载。
LvQiFen
·
2023-04-10 18:21
java
nginx
linux
服务器
综合架构之网站服务-nginx
服务扩展配置文件server区块nginx服务如何搭建网站nginx服务多个虚拟主机多个server配置信息nginx服务三种访问方式基于域名基于端口(访问原理)基于地址(监听地址)nginx服务实现共享存储
autoindex
一只打不死的小强
·
2023-04-06 02:39
基于nginx部署app下载服务器
基于虚拟主机直接添加个虚拟主机就可以了;配置文件如下12345678server{listen8085;#端口server_namelocalhost;#服务名rootd:/web/;#显示的根索引目录
autoindex
on
weixin_34252090
·
2023-04-02 10:45
运维
phpstudy访问根目录文件phpinfo.php的配置文件
server{listen80;server_namelocalhost;root"D:/phpStudy/WWW";location/{indexindex.htmlindex.htmindex.php;#
autoindex
on
Dove言和
·
2023-04-01 13:17
技术
phpstudy
配置
phpstudy
nginx开启
autoindex
优化页面
nginx开启
autoindex
美化HTML页面采用CDN的css与js,内网环境下载下载再配置在nginx中目录varfrom="/";$(document).ready(function(){//获取页面链接参数
-Whisper-
·
2023-04-01 13:47
nginx
javascript
thinkphp5 的nginx v-hosts 设置
host.access.logmain;root"D:/phpStudy/WWW/tp/public";location/{indexindex.htmlindex.htmindex.phpl.php;#
autoindex
off
牛奶ban
·
2023-03-28 14:47
nginx图片服务器简单配置
(jpeg|jpg|png)${root/Users/foo/Documents/test/;
autoindex
off;}实测windows服务器上alias无效参考文章404解决方法:https://
ioido
·
2023-03-27 22:50
28_linux笔记-web-nginx
configure安装脚本nginx模块ngx_http_ssl_module示例1https服务器的搭建示例2访问http跳转到httpsngx_http_realip_modulengx_http_
autoindex
_modulengx_http_stub_status_modulengx_http_auth_basic_modulengx_http_rewrit
mycpen
·
2023-03-13 18:22
Linux笔记
linux
nginx
Nginx 禁止直接访问目录或文件的操作方法
目录前言第一种:
autoindex
配置一级目录或整个虚拟主机开启目录流量单独目录开启目录流量二级目录开启目录流量虚拟目录开启目录流量第二种:nginxlocation配置一、禁止访问某些后缀文件二、禁止访问目录或目录下文件三
·
2022-11-01 13:41
测试报告发送到Jenkins服务器
步骤一:搭建nginx#带ip的方式server{listen9999;server_name100.100.100.159;location/{root/usr/share/nginx/reports;
autoindex
on
gz_tester
·
2022-10-19 23:13
Nginx搭建服务器
ProgramFiles(x86)\nginx-1.21.6目录下,然后打开conf文件夹找到nginx.conf配置文件,用Notepad++打开修改下面几个配置即可搭建简单的服务器,如果需要文件共享服,配置
autoindex
on
chengliang666
·
2022-09-29 19:26
工具方法
服务器
Nginx
nginx
服务器
运维
nginx配置实操:常用模块之状态监控
状态监控配置区域有server和location(最常用)vim/etc/nginx/conf.d/
autoindex
.htmlserver{listen80;server_namea1.com;location
阿白,
·
2022-08-27 08:01
nginx
配置Nginx允许访问目录
默认情况下,Nginx访问目录时会响应403,可以通过配置开启目录访问权限location中增加:
autoindex
on;完整配置示例:server{listen80;server_namewww.huling.comwww.hlkj.com
·
2022-07-28 14:49
nginx
nginx漏洞
若将/usr/local/nginx/conf/nginx.conf里的
autoindex
off改为
autoindex
on,那么就可以直接访问到网站根目录下的所有文件,然后在网站根目录下新建test文件夹
scu_hacker
·
2022-07-27 11:09
中间件漏洞
nginx
运维
web安全
安全
Ngin配置允许访问文件目录
location中配置如下location/{#允许访问文件目录
autoindex
on;#按MB、GB展示文件大小,配置on则按bytes展示文件大小
autoindex
_exact_sizeoff;#使用本地时间
·
2022-06-27 19:48
nginx
Window 下 Nginx 文件夹映射
一、修改配置文件(nginx.conf)nginx-1.21.6\conf\nginx.confhttp{···#文件夹目录显示
autoindex
on;#开启目录浏览功能;
autoindex
_exact_sizeoff
超级小的大西瓜
·
2022-05-28 03:55
后端
Nginx
nginx
服务器
运维
搭建nginx图片服务器
nginx/conf/vinginx.conf打开配置文件后进入编辑状态,新加一个locationimage.pngroot是把images映射到/var/yixiangshuo/iamges/路径下,
autoindex
鑫鑫哥哥丨
·
2022-02-17 14:52
day09 部署bbs、nginx多站点
、查日志2、查进程3、查端口4、系统2、只允许192.168.15.0网段访问allow192.168.15.0/24;denyall;3、开启目录索引的配置[root@web02nginx]#cat
autoindex
_params
迪迦张
·
2021-10-28 21:31
互联网架构
nginx
运维
本地起服务
npmstart或者更简单,在需要开启服务的目录直接http-server,而且可以修改以下内容:-p端口号(默认8080)-aIP地址(默认0.0.0.0)-d显示目录列表(默认'True')-i显示
autoIndex
小小的开发人员
·
2021-06-22 16:37
mongodb学习第一节
db.dropDatabase();显示所有的数据库showdbs--刚创建的数据库插入数据才会显示创建集合db.createCollection(collection_name,{capped:true,
autoIndex
Id
ICEMARK
·
2021-06-18 15:32
tp5项目部署到服务器404
设置伪静态location/{indexindex.htmlindex.htmindex.php;#
autoindex
on;if(!
大浪淘沙丶
·
2021-06-04 02:07
CentOS 7使用源码编译安装Nginx,以及配置使用
autoindex
模块
CentOS7使用源码编译安装Nginx,以及配置使用
autoindex
模块1、CentOS7环境搭建2、Nginx源码下载3、编译安装4、配置
autoindex
模块4.1、
autoindex
模块配置参数说明
彼方丶
·
2021-05-23 22:25
Nginx技术研究
nginx
linux
nginx配置 —— root与alias的区别
nginx-static-file-serving-confusion-with-root-alias一句话概括,root对应的目录会加上location部分去找文件,而alias则不会location/static/{root/var/www/app/static/;
autoindex
off
五大RobertWu伍洋
·
2021-04-21 15:52
Nginx之Http模块系列之
autoindex
模块的具体使用
brower模块主要作用是根据http请求头中"User-Agent"的值,以浏览器的特征字符来判断新旧浏览器,并生成对应的变量,以供后续的请求处理逻辑来使用。1.简介ngx_http_browser_module模块,通过判断"User-Agent"请求头的值,来生成变量,以供后续的请求逻辑处理。2.内置变量列表$modern_browser如果浏览器被标识为现代浏览器,则等于modern_br
·
2021-03-09 21:45
通过nginx部署内网yum源
/configure--prefix=/usr/local/nginx编译和安装make&&makeinstall在nginx.conf文件中添加location/{
autoindex
on;
autoindex
地中海养成之路
·
2021-02-26 14:02
运维实用小项目
yum
运维
Nginx配置实现下载文件的示例代码
一、配置http{...server:{#配置下载location/download{rootD:\\download;
autoindex
on;
autoindex
_exact_sizeoff;}}...
·
2020-11-13 10:50
Nginx浏览目录配置及美化
服务器使用Nginx,而Nginx提供了相应的ngx_http_
autoindex
_module模块,该模块提供了我们想要的功能。
webxEJIr
·
2020-10-09 13:44
nginx
Nginx浏览目录配置及美化
服务器使用Nginx,而Nginx提供了相应的ngx_http_
autoindex
_module模块,该模块提供了我们想要的功能。
webxEJIr
·
2020-10-09 13:43
nginx
Nginx开启目录浏览文件和文件夹
为了更直观的查看和下载文件,可以用nginx做成目录浏览设置全局的在http里设置保证和server同级http{
autoindex
on;#开启nginx目录浏览功能
autoindex
_exact_sizeoff
webxEJIr
·
2020-10-09 13:22
nginx
前端
Nginx开启目录浏览文件和文件夹
为了更直观的查看和下载文件,可以用nginx做成目录浏览设置全局的在http里设置保证和server同级http{
autoindex
on;#开启nginx目录浏览功能
autoindex
_exact_sizeoff
webxEJIr
·
2020-10-09 13:22
nginx
前端
phpstudy隐藏index.php的方法
.*)$/index.php/$1last;}**indexindex.htmlindex.htmindex.php;#
autoindex
on;}在配置文件中加入粗体!
·
2020-09-22 12:24
解决tp5项目部署在nginx环境上404问题(伪静态)
页面打不开,总是提示404报错:解决办法:在宝塔网站->设置->配置文件中(或nginx.conf里)添加下面代码:location/{indexindex.htmlindex.htmindex.php;#
autoindex
on
appleคิดถึง
·
2020-09-17 04:25
tp5
environment
nginx
tp5
nginx关闭目录浏览功能
nginx图片服务器,因为图片的敏感度,不允许直接访问图片的目录:需要修改配置文件,去掉
autoindex
on;重启nginx即可location/soft{#
autoindex
on;#去掉这一行内容
autoindex
_exact_sizeoff
weixin_30827565
·
2020-09-16 21:56
运维
json
nginx设置目录浏览及中文乱码问题解决
如需此功能,先打开nginx.conf文件,在locationserver或http段中加入
autoindex
on;另外两个参数最好也加上去:
autoindex
_exact_sizeoff;默认为on,
志在-必得
·
2020-09-16 21:03
服务器
Linux:Nginx目录浏览下载(
autoindex
)
目录Nginx自带的
autoindex
模块配置参数配置说明效果图其他配置调整二、第三方模块配置说明fancy模块配置参数配置说明效果图Nginx不仅仅作为web站点使用,也可以当做一个文件共享的使用,索引目录列表提供用户下载文件
樱之魔
·
2020-09-16 21:23
Linux服务部署
个人
nginx开启目录浏览
打开某个站点的配置文件server{
autoindex
on;#开启目录浏览
autoindex
_exact_sizeoff;#显示出文件的大概大小,单位是kB或者MB或者GB,低于kb的默认为bytes并且不显示单位名
谷雨陈
·
2020-09-16 20:11
Linux
Nginx 开启目录浏览功能配置
在server节点下添加1server{2listen8007;3server_namedefault;4#indexindex.php;5#目录浏览功能6
autoindex
on;7#显示文件大小统计8
autoindex
_exact_sizeoff
a6160212
·
2020-09-16 20:27
运维
php
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他