首页 > 系统相关 >windows下的nginx目录介绍

windows下的nginx目录介绍

时间:2023-07-14 20:00:20浏览次数:41  
标签:1.1 05 windows 18 nginx client 2023 目录 localhost

windows下的nginx目录介绍

目录结构

windows下的nginx目录结构如图所示:
nginx目录结构

日志文件

logs目录下存储的是日志文件。

  1. access.log文件内容类似如下:
127.0.0.1 - - [18/May/2023:16:44:04 +0800] "POST /javaservice/client/service/client/connect HTTP/1.1" 404 431 "-" "PostmanRuntime-ApipostRuntime/1.1.0"
127.0.0.1 - - [18/May/2023:16:46:13 +0800] "GET /javaservice/client/service/client/connect HTTP/1.1" 404 306 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
127.0.0.1 - - [18/May/2023:16:47:25 +0800] "POST /javaservice/client/service/client/connect HTTP/1.1" 404 161 "-" "PostmanRuntime-ApipostRuntime/1.1.0"
127.0.0.1 - - [18/May/2023:16:48:15 +0800] "POST /javaservice/client/service/v1/connect HTTP/1.1" 200 83 "-" "PostmanRuntime-ApipostRuntime/1.1.0"
127.0.0.1 - - [18/May/2023:16:49:08 +0800] "POST /javaservice/client/service/v1/connect HTTP/1.1" 404 431 "-" "PostmanRuntime-ApipostRuntime/1.1.0"
127.0.0.1 - - [18/May/2023:16:49:14 +0800] "GET /javaservice/client/service/client/connect HTTP/1.1" 404 431 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
127.0.0.1 - - [18/May/2023:16:50:39 +0800] "GET /javaservice/client/service/v1/connect HTTP/1.1" 404 431 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
127.0.0.1 - - [18/May/2023:16:51:15 +0800] "GET /javaservice/client/service/v1/connect HTTP/1.1" 404 431 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
127.0.0.1 - - [18/May/2023:16:51:56 +0800] "GET /javaservice/client/service/v1/connect HTTP/1.1" 400 623 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
127.0.0.1 - - [18/May/2023:16:52:10 +0800] "POST /javaservice/client/service/v1/connect HTTP/1.1" 200 83 "-" "PostmanRuntime-ApipostRuntime/1.1.0"
  1. error.log文件内容类似如下:
2023/05/18 15:01:32 [crit] 18552#20132: *30 GetFileAttributesEx() "D:\kj
ginx_web" failed (123: The filename, directory name, or volume label syntax is incorrect), client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost"
2023/05/18 15:01:35 [crit] 18552#20132: *31 GetFileAttributesEx() "D:\kj
ginx_web" failed (123: The filename, directory name, or volume label syntax is incorrect), client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost"
2023/05/18 15:02:12 [crit] 8256#28000: *1 GetFileAttributesEx() "D:\kj	est" failed (123: The filename, directory name, or volume label syntax is incorrect), client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost"
2023/05/18 15:02:55 [notice] 19468#22376: signal process started
2023/05/18 15:02:57 [crit] 8256#28000: *2 GetFileAttributesEx() "D:\kj	est" failed (123: The filename, directory name, or volume label syntax is incorrect), client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost"
2023/05/18 15:02:58 [crit] 8256#28000: *3 GetFileAttributesEx() "D:\kj	est" failed (123: The filename, directory name, or volume label syntax is incorrect), client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", host: "localhost"
2023/05/18 15:03:44 [notice] 30732#30052: signal process started
2023/05/18 15:23:02 [notice] 2928#22076: signal process started
2023/05/18 15:23:14 [notice] 31212#17080: signal process started
2023/05/18 15:23:14 [error] 31212#17080: CreateFile() "D:\kj\software\installed\nginx-1.20.2/logs/nginx.pid" failed (2: The system cannot find the file specified)
2023/05/18 15:33:04 [notice] 23400#8816: signal process started
2023/05/18 15:33:08 [error] 26004#18984: *6 CreateFile() "D:\kj\nginx-web1\/test1.html" failed (3: The system cannot find the path specified), client: 127.0.0.1, server: localhost, request: "GET /test1.html HTTP/1.1", host: "localhost"
2023/05/18 15:33:09 [error] 26004#18984: *6 CreateFile() "D:\kj\nginx-web1\/test1.html" failed (3: The system cannot find the path specified), client: 127.0.0.1, server: localhost, request: "GET /test1.html HTTP/1.1", host: "localhost"
2023/05/18 15:33:09 [error] 26004#18984: *6 CreateFile() "D:\kj\nginx-web1\/test1.html" failed (3: The system cannot find the path specified), client: 127.0.0.1, server: localhost, request: "GET /test1.html HTTP/1.1", host: "localhost"
2023/05/18 15:33:09 [error] 26004#18984: *6 CreateFile() "D:\kj\nginx-web1\/test1.html" failed (3: The system cannot find the path specified), client: 127.0.0.1, server: localhost, request: "GET /test1.html HTTP/1.1", host: "localhost"
2023/05/18 15:33:09 [error] 26004#18984: *6 CreateFile() "D:\kj\nginx-web1\/test1.html" failed (3: The system cannot find the path specified), client: 127.0.0.1, server: localhost, request: "GET /test1.html HTTP/1.1", host: "localhost"
2023/05/18 15:33:09 [error] 26004#18984: *6 CreateFile() "D:\kj\nginx-web1\/test1.html" failed (3: The system cannot find the path specified), client: 127.0.0.1, server: localhost, request: "GET /test1.html HTTP/1.1", host: "localhost"
2023/05/18 15:33:10 [error] 26004#18984: *6 CreateFile() "D:\kj\nginx-web1\/test1.html" failed (3: The system cannot find the path specified), client: 127.0.0.1, server: localhost, request: "GET /test1.html HTTP/1.1", host: "localhost"
2023/05/18 15:33:10 [error] 26004#18984: *6 CreateFile() "D:\kj\nginx-web1\/test1.html" failed (3: The system cannot find the path specified), client: 127.0.0.1, server: localhost, request: "GET /test1.html HTTP/1.1", host: "localhost"
2023/05/18 16:35:41 [notice] 30944#31804: signal process started
2023/05/18 16:36:14 [error] 10712#28964: *8 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /javaservice/client/service/client/connect HTTP/1.1", upstream: "http://[::1]:8081/javaservice/client/service/client/connect", host: "localhost"
2023/05/18 16:36:16 [error] 10712#28964: *8 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /javaservice/client/service/client/connect HTTP/1.1", upstream: "http://127.0.0.1:8081/javaservice/client/service/client/connect", host: "localhost"
2023/05/18 16:41:09 [notice] 4996#8628: signal process started
2023/05/18 16:46:04 [notice] 30236#8864: signal process started
2023/05/18 16:49:03 [notice] 23364#28984: signal process started
2023/05/18 16:51:11 [notice] 31276#17940: signal process started
2023/05/18 16:51:52 [notice] 19332#3884: signal process started

静态网页目录

html存储的是静态网页。

配置文件

conf/nginx.conf存储的是配置文件,很重要。

二进制程序

nginx.exe为windows下的二进制文件,双击它就可以启动nginx。

标签:1.1,05,windows,18,nginx,client,2023,目录,localhost
From: https://www.cnblogs.com/oymx/p/17554873.html

相关文章

  • windows下用mysqldump导出数据库中文乱码的解决方案
    解决方案是从这篇文章得到的启发:http://www.pcxitongcheng.com/server/anz/2022-12-06/33622.html先去mysql里确认字符编码是utf8:showvariableslike'%char%'主要确认character_set_results。先创建好sql文件,比如d:\backup.sql然后备份的时候用--result-file=指定刚创建的文......
  • 删除/boot/所有文件,不包括目录,修复
    rm-f/boot/*实验:破坏grubstage1实验:破坏grubstage1.5实验:破坏grubstage2实验:expect自动在多台主机创建用户test,并设置初始口令centos6启动流程1post硬件环境2mbr446grubstage13grubstage1.5加载/boot分区文件系统4grubstage2/boot/grub/grub.conf5......
  • dwm.exe 是 Windows 操作系统中的一个进程,它代表桌面窗口管理器 (Desktop Window Mana
    dwm.exe是Windows操作系统中的一个进程,它代表桌面窗口管理器(DesktopWindowManager)。桌面窗口管理器是Windows中负责处理图形渲染和用户界面效果的组件之一。具体来说,dwm.exe负责管理桌面环境的显示、窗口合成、窗口动画、透明效果等任务。它使用硬件加速技术来提供流......
  • sihclient.exe 是 Windows 操作系统中的一个进程,它代表"Software Installation Helper
    sihclient.exe是Windows操作系统中的一个进程,它代表"SoftwareInstallationHelper"(软件安装助手)。sihclient.exe的主要功能是帮助管理和执行软件安装、更新和卸载操作。具体来说,sihclient.exe进程负责监控和处理在Windows上进行的软件安装过程。当用户安装或更新软件时,si......
  • msmpeng.exe 是 Windows Defender 的后台服务进程,也称为 Windows Defender Antimalwar
    msmpeng.exe是MicrosoftWindowsDefender的主要组件之一。WindowsDefender是Windows操作系统内置的杀毒软件和安全防护工具,用于检测和清除计算机上的潜在恶意软件、病毒和其他安全威胁。具体来说,msmpeng.exe是WindowsDefender的后台服务进程,也称为WindowsDefender......
  • devicecensus.exe 是 Windows 操作系统中的一个进程,它与设备普查相关。设备普查是 Win
    devicecensus.exe是Windows操作系统中的一个进程,它与设备普查相关。设备普查是Windows操作系统收集和报告硬件和软件信息的一项功能。具体来说,devicecensus.exe是Windows的设备普查服务的主执行文件。它负责定期运行设备普查任务,收集系统的硬件配置、驱动程序信息、应用......
  • 性能优化 - Nginx & Linux
    性能优化-Nginx&Linux来自鑫哥[鑫哥的技术思维]2022-05-0709:26发表于湖北纲要Nginx优化后的完整配置Linux内核参数优化修改最大打开文件句柄数Nginx优化后的完整配置#核心参数(其他参数大部分情况下用不到)#userUSERNAME[GROUP]#解释:指定运行nginx的wo......
  • nginx安装
    将nginx源码包下载下来,官网下载地址:http://nginx.org/en/download.html,选择stableverson版本,以nginx-1.18.0为例,材料包中已下载,进入存放nginx-1.18.0.tar.gz源码包的目录,用解压命令解压到当前目录tar-xzvfnginx-1.18.0.tar.gz进入解压后的nginx-1.18.0目录里,使用cofigure......
  • Windows 11跳过联网安装
    步骤一:在Windows11安装窗口按下“Shift+F10”快捷键,输入命令 oobe\BypassNRO.cmd 回车执行命令之后,win11电脑就会自动重启,重启之后联网界面就会有一个暂时跳过的选项,可以和以前一样离线配置。  ......
  • ubuntu20.04 配置编译安装nginx的systemctl启动命令
    vim/usr/lib/systemd/system/nginx.service[Unit]Description=nginx-highperformancewebserverAfter=network.targetremote-fs.targetnss-lookup.target[Service]Type=forkin......