npmapps 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/app/1k.ico +0 -0
- package/app/AutoHotkey_2.0.19_setup.exe +0 -0
- package/app/my.ahk +54 -0
- package/app/rcajqkyd11fhxdks2wmyveq0hcocivbr.upxs +0 -0
- package/package.json +1 -1
- package/app/nginxManagement/backend/command_records.json +0 -46
- package/app/nginxManagement/backend/nginx-1.28.0/conf/api.conf +0 -22
- package/app/nginxManagement/backend/nginx-1.28.0/conf/fastcgi.conf +0 -26
- package/app/nginxManagement/backend/nginx-1.28.0/conf/fastcgi_params +0 -25
- package/app/nginxManagement/backend/nginx-1.28.0/conf/koi-utf +0 -109
- package/app/nginxManagement/backend/nginx-1.28.0/conf/koi-win +0 -103
- package/app/nginxManagement/backend/nginx-1.28.0/conf/mime.types +0 -99
- package/app/nginxManagement/backend/nginx-1.28.0/conf/nginx.conf +0 -33
- package/app/nginxManagement/backend/nginx-1.28.0/conf/scgi_params +0 -17
- package/app/nginxManagement/backend/nginx-1.28.0/conf/uwsgi_params +0 -17
- package/app/nginxManagement/backend/nginx-1.28.0/conf/win-utf +0 -126
- package/app/nginxManagement/backend/nginx-1.28.0/contrib/README +0 -21
- package/app/nginxManagement/backend/nginx-1.28.0/contrib/geo2nginx.pl +0 -58
- package/app/nginxManagement/backend/nginx-1.28.0/contrib/unicode2nginx/koi-utf +0 -131
- package/app/nginxManagement/backend/nginx-1.28.0/contrib/unicode2nginx/unicode-to-nginx.pl +0 -48
- package/app/nginxManagement/backend/nginx-1.28.0/contrib/unicode2nginx/win-utf +0 -130
- package/app/nginxManagement/backend/nginx-1.28.0/contrib/vim/ftdetect/nginx.vim +0 -4
- package/app/nginxManagement/backend/nginx-1.28.0/contrib/vim/ftplugin/nginx.vim +0 -1
- package/app/nginxManagement/backend/nginx-1.28.0/contrib/vim/indent/nginx.vim +0 -11
- package/app/nginxManagement/backend/nginx-1.28.0/contrib/vim/syntax/nginx.vim +0 -1979
- package/app/nginxManagement/backend/nginx-1.28.0/docs/CHANGES +0 -9290
- package/app/nginxManagement/backend/nginx-1.28.0/docs/CHANGES.ru +0 -9453
- package/app/nginxManagement/backend/nginx-1.28.0/docs/CODE_OF_CONDUCT.md +0 -126
- package/app/nginxManagement/backend/nginx-1.28.0/docs/CONTRIBUTING.md +0 -110
- package/app/nginxManagement/backend/nginx-1.28.0/docs/LICENSE +0 -24
- package/app/nginxManagement/backend/nginx-1.28.0/docs/OpenSSL.LICENSE +0 -177
- package/app/nginxManagement/backend/nginx-1.28.0/docs/PCRE.LICENCE +0 -94
- package/app/nginxManagement/backend/nginx-1.28.0/docs/README.md +0 -230
- package/app/nginxManagement/backend/nginx-1.28.0/docs/SECURITY.md +0 -103
- package/app/nginxManagement/backend/nginx-1.28.0/docs/zlib.LICENSE +0 -20
- package/app/nginxManagement/backend/nginx-1.28.0/html/50x.html +0 -19
- package/app/nginxManagement/backend/nginx-1.28.0/html/index.html +0 -23
- package/app/nginxManagement/backend/nginx-1.28.0/logs/access.log +0 -0
- package/app/nginxManagement/backend/nginx-1.28.0/logs/api_80_access.log +0 -0
- package/app/nginxManagement/backend/nginx-1.28.0/logs/api_80_error.log +0 -0
- package/app/nginxManagement/backend/nginx-1.28.0/logs/error.log +0 -33
- package/app/nginxManagement/backend/nginx-1.28.0/nginx.exe +0 -0
- package/app/nginxManagement/backend/nm.exe +0 -0
- package/app/nginxManagement/frontend/dist/assets/index-AG5xSNXD.css +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-B2VcD4B4.js +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-BLD4e3hR.css +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-BRTcbQAV.css +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-BW5QC1wD.js +0 -58
- package/app/nginxManagement/frontend/dist/assets/index-BXCmlf1X.js +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-BqD_g85X.js +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-CZs0cWnm.js +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-CckWg4BZ.js +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-CfQ0CtE1.js +0 -21
- package/app/nginxManagement/frontend/dist/assets/index-CnlsVqSb.js +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-D80vACWt.js +0 -58
- package/app/nginxManagement/frontend/dist/assets/index-DCkNgPTg.css +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-DDbr5qwm.css +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-DIf3GFFr.js +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-DIkZrekD.js +0 -21
- package/app/nginxManagement/frontend/dist/assets/index-DJ10N3ef.js +0 -21
- package/app/nginxManagement/frontend/dist/assets/index-DZqALzxJ.css +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-DijMOVEo.js +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-Dj94f0_e.js +0 -58
- package/app/nginxManagement/frontend/dist/assets/index-DxsiA9NS.css +0 -1
- package/app/nginxManagement/frontend/dist/assets/index-MbI1qjjU.js +0 -21
- package/app/nginxManagement/frontend/dist/assets/index-PO5K0hSX.js +0 -58
- package/app/nginxManagement/frontend/dist/assets/request-DK54gOQ7.js +0 -6
- package/app/nginxManagement/frontend/dist/index.html +0 -14
- package/app/nginxManagement/frontend/dist/vite.svg +0 -1
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
<picture>
|
|
2
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://github.com/user-attachments/assets/9335b488-ffcc-4157-8364-2370a0b70ad0">
|
|
3
|
-
<source media="(prefers-color-scheme: light)" srcset="https://github.com/user-attachments/assets/3a7eeb08-1133-47f5-859c-fad4f5a6a013">
|
|
4
|
-
<img alt="NGINX Banner">
|
|
5
|
-
</picture>
|
|
6
|
-
|
|
7
|
-
NGINX (pronounced "engine x" or "en-jin-eks") is the world's most popular Web Server, high performance Load Balancer, Reverse Proxy, API Gateway and Content Cache.
|
|
8
|
-
|
|
9
|
-
NGINX is free and open source software, distributed under the terms of a simplified [2-clause BSD-like license](LICENSE).
|
|
10
|
-
|
|
11
|
-
Enterprise distributions, commercial support and training are available from [F5, Inc](https://www.f5.com/products/nginx).
|
|
12
|
-
|
|
13
|
-
> [!IMPORTANT]
|
|
14
|
-
> The goal of this README is to provide a basic, structured introduction to NGINX for novice users. Please refer to the [full NGINX documentation](https://nginx.org/en/docs/) for detailed information on [installing](https://nginx.org/en/docs/install.html), [building](https://nginx.org/en/docs/configure.html), [configuring](https://nginx.org/en/docs/dirindex.html), [debugging](https://nginx.org/en/docs/debugging_log.html), and more. These documentation pages also contain a more detailed [Beginners Guide](https://nginx.org/en/docs/beginners_guide.html), How-Tos, [Development guide](https://nginx.org/en/docs/dev/development_guide.html), and a complete module and [directive reference](https://nginx.org/en/docs/dirindex.html).
|
|
15
|
-
|
|
16
|
-
# Table of contents
|
|
17
|
-
- [How it works](#how-it-works)
|
|
18
|
-
- [Modules](#modules)
|
|
19
|
-
- [Configurations](#configurations)
|
|
20
|
-
- [Runtime](#runtime)
|
|
21
|
-
- [Downloading and installing](#downloading-and-installing)
|
|
22
|
-
- [Stable and Mainline binaries](#stable-and-mainline-binaries)
|
|
23
|
-
- [Linux binary installation process](#linux-binary-installation-process)
|
|
24
|
-
- [FreeBSD installation process](#freebsd-installation-process)
|
|
25
|
-
- [Windows executables](#windows-executables)
|
|
26
|
-
- [Dynamic modules](#dynamic-modules)
|
|
27
|
-
- [Getting started with NGINX](#getting-started-with-nginx)
|
|
28
|
-
- [Installing SSL certificates and enabling TLS encryption](#installing-ssl-certificates-and-enabling-tls-encryption)
|
|
29
|
-
- [Load Balancing](#load-balancing)
|
|
30
|
-
- [Rate limiting](#rate-limiting)
|
|
31
|
-
- [Content caching](#content-caching)
|
|
32
|
-
- [Building from source](#building-from-source)
|
|
33
|
-
- [Installing dependencies](#installing-dependencies)
|
|
34
|
-
- [Cloning the NGINX GitHub repository](#cloning-the-nginx-github-repository)
|
|
35
|
-
- [Configuring the build](#configuring-the-build)
|
|
36
|
-
- [Compiling](#compiling)
|
|
37
|
-
- [Location of binary and installation](#location-of-binary-and-installation)
|
|
38
|
-
- [Running and testing the installed binary](#running-and-testing-the-installed-binary)
|
|
39
|
-
- [Asking questions and reporting issues](#asking-questions-and-reporting-issues)
|
|
40
|
-
- [Contributing code](#contributing-code)
|
|
41
|
-
- [Additional help and resources](#additional-help-and-resources)
|
|
42
|
-
- [Changelog](#changelog)
|
|
43
|
-
- [License](#license)
|
|
44
|
-
|
|
45
|
-
# How it works
|
|
46
|
-
NGINX is installed software with binary packages available for all major operating systems and Linux distributions. See [Tested OS and Platforms](https://nginx.org/en/#tested_os_and_platforms) for a full list of compatible systems.
|
|
47
|
-
|
|
48
|
-
> [!IMPORTANT]
|
|
49
|
-
> While nearly all popular Linux-based operating systems are distributed with a community version of nginx, we highly advise installation and usage of official [packages](https://nginx.org/en/linux_packages.html) or sources from this repository. Doing so ensures that you're using the most recent release or source code, including the latest feature-set, fixes and security patches.
|
|
50
|
-
|
|
51
|
-
## Modules
|
|
52
|
-
NGINX is comprised of individual modules, each extending core functionality by providing additional, configurable features. See "Modules reference" at the bottom of [nginx documentation](https://nginx.org/en/docs/) for a complete list of official modules.
|
|
53
|
-
|
|
54
|
-
NGINX modules can be built and distributed as static or dynamic modules. Static modules are defined at build-time, compiled, and distributed in the resulting binaries. See [Dynamic Modules](#dynamic-modules) for more information on how they work, as well as, how to obtain, install, and configure them.
|
|
55
|
-
|
|
56
|
-
> [!TIP]
|
|
57
|
-
> You can issue the following command to see which static modules your NGINX binaries were built with:
|
|
58
|
-
```bash
|
|
59
|
-
nginx -V
|
|
60
|
-
```
|
|
61
|
-
> See [Configuring the build](#configuring-the-build) for information on how to include specific Static modules into your nginx build.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
## Configurations
|
|
65
|
-
NGINX is highly flexible and configurable. Provisioning the software is achieved via text-based config file(s) accepting parameters called "[Directives](https://nginx.org/en/docs/dirindex.html)". See [Configuration File's Structure](https://nginx.org/en/docs/beginners_guide.html#conf_structure) for a comprehensive description of how NGINX configuration files work.
|
|
66
|
-
|
|
67
|
-
> [!NOTE]
|
|
68
|
-
> The set of directives available to your distribution of NGINX is dependent on which [modules](#modules) have been made available to it.
|
|
69
|
-
|
|
70
|
-
## Runtime
|
|
71
|
-
Rather than running in a single, monolithic process, NGINX is architected to scale beyond Operating System process limitations by operating as a collection of processes. They include:
|
|
72
|
-
- A "master" process that maintains worker processes, as well as, reads and evaluates configuration files.
|
|
73
|
-
- One or more "worker" processes that process data (eg. HTTP requests).
|
|
74
|
-
|
|
75
|
-
The number of [worker processes](https://nginx.org/en/docs/ngx_core_module.html#worker_processes) is defined in the configuration file and may be fixed for a given configuration or automatically adjusted to the number of available CPU cores. In most cases, the latter option optimally balances load across available system resources, as NGINX is designed to efficiently distribute work across all worker processes.
|
|
76
|
-
|
|
77
|
-
> [!TIP]
|
|
78
|
-
> Processes synchronize data through shared memory. For this reason, many NGINX directives require the allocation of shared memory zones. As an example, when configuring [rate limiting](https://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req), connecting clients may need to be tracked in a [common memory zone](https://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req_zone) so all worker processes can know how many times a particular client has accessed the server in a span of time.
|
|
79
|
-
|
|
80
|
-
# Downloading and installing
|
|
81
|
-
Follow these steps to download and install precompiled NGINX binaries. You may also choose to [build NGINX locally from source code](#building-from-source).
|
|
82
|
-
|
|
83
|
-
## Stable and Mainline binaries
|
|
84
|
-
NGINX binaries are built and distributed in two versions: stable and mainline. Stable binaries are built from stable branches and only contain critical fixes backported from the mainline version. Mainline binaries are built from the [master branch](https://github.com/nginx/nginx/tree/master) and contain the latest features and bugfixes. You'll need to [decide which is appropriate for your purposes](https://docs.nginx.com/nginx/admin-guide/installing-nginx/installing-nginx-open-source/#choosing-between-a-stable-or-a-mainline-version).
|
|
85
|
-
|
|
86
|
-
## Linux binary installation process
|
|
87
|
-
The NGINX binary installation process takes advantage of package managers native to specific Linux distributions. For this reason, first-time installations involve adding the official NGINX package repository to your system's package manager. Follow [these steps](https://nginx.org/en/linux_packages.html) to download, verify, and install NGINX binaries using the package manager appropriate for your Linux distribution.
|
|
88
|
-
|
|
89
|
-
### Upgrades
|
|
90
|
-
Future upgrades to the latest version can be managed using the same package manager without the need to manually download and verify binaries.
|
|
91
|
-
|
|
92
|
-
## FreeBSD installation process
|
|
93
|
-
For more information on installing NGINX on FreeBSD system, visit https://nginx.org/en/docs/install.html
|
|
94
|
-
|
|
95
|
-
## Windows executables
|
|
96
|
-
Windows executables for mainline and stable releases can be found on the main [NGINX download page](https://nginx.org/en/download.html). Note that the current implementation of NGINX for Windows is at the Proof-of-Concept stage and should only be used for development and testing purposes. For additional information, please see [nginx for Windows](https://nginx.org/en/docs/windows.html).
|
|
97
|
-
|
|
98
|
-
## Dynamic modules
|
|
99
|
-
NGINX version 1.9.11 added support for [Dynamic Modules](https://nginx.org/en/docs/ngx_core_module.html#load_module). Unlike Static modules, dynamically built modules can be downloaded, installed, and configured after the core NGINX binaries have been built. [Official dynamic module binaries](https://nginx.org/en/linux_packages.html#dynmodules) are available from the same package repository as the core NGINX binaries described in previous steps.
|
|
100
|
-
|
|
101
|
-
> [!TIP]
|
|
102
|
-
> [NGINX JavaScript (njs)](https://github.com/nginx/njs), is a popular NGINX dynamic module that enables the extension of core NGINX functionality using familiar JavaScript syntax.
|
|
103
|
-
|
|
104
|
-
> [!IMPORTANT]
|
|
105
|
-
> If desired, dynamic modules can also be built statically into NGINX at compile time.
|
|
106
|
-
|
|
107
|
-
# Getting started with NGINX
|
|
108
|
-
For a gentle introduction to NGINX basics, please see our [Beginner’s Guide](https://nginx.org/en/docs/beginners_guide.html).
|
|
109
|
-
|
|
110
|
-
## Installing SSL certificates and enabling TLS encryption
|
|
111
|
-
See [Configuring HTTPS servers](https://nginx.org/en/docs/http/configuring_https_servers.html) for a quick guide on how to enable secure traffic to your NGINX installation.
|
|
112
|
-
|
|
113
|
-
## Load Balancing
|
|
114
|
-
For a quick start guide on configuring NGINX as a Load Balancer, please see [Using nginx as HTTP load balancer](https://nginx.org/en/docs/http/load_balancing.html).
|
|
115
|
-
|
|
116
|
-
## Rate limiting
|
|
117
|
-
See our [Rate Limiting with NGINX](https://blog.nginx.org/blog/rate-limiting-nginx) blog post for an overview of core concepts for provisioning NGINX as an API Gateway.
|
|
118
|
-
|
|
119
|
-
## Content caching
|
|
120
|
-
See [A Guide to Caching with NGINX and NGINX Plus](https://blog.nginx.org/blog/nginx-caching-guide) blog post for an overview of how to use NGINX as a content cache (e.g. edge server of a content delivery network).
|
|
121
|
-
|
|
122
|
-
# Building from source
|
|
123
|
-
The following steps can be used to build NGINX from source code available in this repository.
|
|
124
|
-
|
|
125
|
-
## Installing dependencies
|
|
126
|
-
Most Linux distributions will require several dependencies to be installed in order to build NGINX. The following instructions are specific to the `apt` package manager, widely available on most Ubuntu/Debian distributions and their derivatives.
|
|
127
|
-
|
|
128
|
-
> [!TIP]
|
|
129
|
-
> It is always a good idea to update your package repository lists prior to installing new packages.
|
|
130
|
-
> ```bash
|
|
131
|
-
> sudo apt update
|
|
132
|
-
> ```
|
|
133
|
-
|
|
134
|
-
### Installing compiler and make utility
|
|
135
|
-
Use the following command to install the GNU C compiler and Make utility.
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
sudo apt install gcc make
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Installing dependency libraries
|
|
142
|
-
|
|
143
|
-
```bash
|
|
144
|
-
sudo apt install libpcre3-dev zlib1g-dev
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
> [!WARNING]
|
|
148
|
-
> This is the minimal set of dependency libraries needed to build NGINX with rewriting and gzip capabilities. Other dependencies may be required if you choose to build NGINX with additional modules. Monitor the output of the `configure` command discussed in the following sections for information on which modules may be missing. For example, if you plan to use SSL certificates to encrypt traffic with TLS, you'll need to install the OpenSSL library. To do so, issue the following command.
|
|
149
|
-
|
|
150
|
-
>```bash
|
|
151
|
-
>sudo apt install libssl-dev
|
|
152
|
-
|
|
153
|
-
## Cloning the NGINX GitHub repository
|
|
154
|
-
Using your preferred method, clone the NGINX repository into your development directory. See [Cloning a GitHub Repository](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository) for additional help.
|
|
155
|
-
|
|
156
|
-
```bash
|
|
157
|
-
git clone https://github.com/nginx/nginx.git
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
## Configuring the build
|
|
161
|
-
Prior to building NGINX, you must run the `configure` script with [appropriate flags](https://nginx.org/en/docs/configure.html). This will generate a Makefile in your NGINX source root directory that can then be used to compile NGINX with [options specified during configuration](https://nginx.org/en/docs/configure.html).
|
|
162
|
-
|
|
163
|
-
From the NGINX source code repository's root directory:
|
|
164
|
-
|
|
165
|
-
```bash
|
|
166
|
-
auto/configure
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
> [!IMPORTANT]
|
|
170
|
-
> Configuring the build without any flags will compile NGINX with the default set of options. Please refer to https://nginx.org/en/docs/configure.html for a full list of available build configuration options.
|
|
171
|
-
|
|
172
|
-
## Compiling
|
|
173
|
-
The `configure` script will generate a `Makefile` in the NGINX source root directory upon successful execution. To compile NGINX into a binary, issue the following command from that same directory:
|
|
174
|
-
|
|
175
|
-
```bash
|
|
176
|
-
make
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
## Location of binary and installation
|
|
180
|
-
After successful compilation, a binary will be generated at `<NGINX_SRC_ROOT_DIR>/objs/nginx`. To install this binary, issue the following command from the source root directory:
|
|
181
|
-
|
|
182
|
-
```bash
|
|
183
|
-
sudo make install
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
> [!IMPORTANT]
|
|
187
|
-
> The binary will be installed into the `/usr/local/nginx/` directory.
|
|
188
|
-
|
|
189
|
-
## Running and testing the installed binary
|
|
190
|
-
To run the installed binary, issue the following command:
|
|
191
|
-
|
|
192
|
-
```bash
|
|
193
|
-
sudo /usr/local/nginx/sbin/nginx
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
You may test NGINX operation using `curl`.
|
|
197
|
-
|
|
198
|
-
```bash
|
|
199
|
-
curl localhost
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
The output of which should start with:
|
|
203
|
-
|
|
204
|
-
```html
|
|
205
|
-
<!DOCTYPE html>
|
|
206
|
-
<html>
|
|
207
|
-
<head>
|
|
208
|
-
<title>Welcome to nginx!</title>
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
# Asking questions and reporting issues
|
|
212
|
-
We encourage you to engage with us.
|
|
213
|
-
- [NGINX GitHub Discussions](https://github.com/nginx/nginx/discussions), is the go-to place to start asking questions and sharing your thoughts.
|
|
214
|
-
- Our [GitHub Issues](https://github.com/nginx/nginx/issues) page offers space to submit and discuss specific issues, report bugs, and suggest enhancements.
|
|
215
|
-
|
|
216
|
-
# Contributing code
|
|
217
|
-
Please see the [Contributing](CONTRIBUTING.md) guide for information on how to contribute code.
|
|
218
|
-
|
|
219
|
-
# Additional help and resources
|
|
220
|
-
- See the [NGINX Community Blog](https://blog.nginx.org/) for more tips, tricks and HOW-TOs related to NGINX and related projects.
|
|
221
|
-
- Access [nginx.org](https://nginx.org/), your go-to source for all documentation, information and software related to the NGINX suite of projects.
|
|
222
|
-
|
|
223
|
-
# Changelog
|
|
224
|
-
See our [changelog](https://nginx.org/en/CHANGES) to keep track of updates.
|
|
225
|
-
|
|
226
|
-
# License
|
|
227
|
-
[2-clause BSD-like license](LICENSE)
|
|
228
|
-
|
|
229
|
-
---
|
|
230
|
-
Additional documentation available at: https://nginx.org/en/docs
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
This document provides an overview of security concerns related to nginx
|
|
4
|
-
deployments, focusing on confidentiality, integrity, availability, and the
|
|
5
|
-
implications of configurations and misconfigurations.
|
|
6
|
-
|
|
7
|
-
## Reporting a Vulnerability
|
|
8
|
-
|
|
9
|
-
Please report any vulnerabilities via one of the following methods
|
|
10
|
-
(in order of preference):
|
|
11
|
-
|
|
12
|
-
1. [Report a vulnerability](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability)
|
|
13
|
-
within this repository. We are using the GitHub workflow that allows us to
|
|
14
|
-
manage vulnerabilities in a private manner and interact with reporters
|
|
15
|
-
securely.
|
|
16
|
-
|
|
17
|
-
2. [Report directly to F5](https://www.f5.com/services/support/report-a-vulnerability).
|
|
18
|
-
|
|
19
|
-
3. Report via email to security-alert@nginx.org.
|
|
20
|
-
This method will be deprecated in the future.
|
|
21
|
-
|
|
22
|
-
### Vulnerability Disclosure and Fix Process
|
|
23
|
-
|
|
24
|
-
The nginx team expects that all suspected vulnerabilities be reported
|
|
25
|
-
privately via the
|
|
26
|
-
[Reporting a Vulnerability](SECURITY.md#reporting-a-vulnerability) guidelines.
|
|
27
|
-
If a publicly released vulnerability is reported, we
|
|
28
|
-
may request to handle it according to the private disclosure process.
|
|
29
|
-
If the reporter agrees, we will follow the private disclosure process.
|
|
30
|
-
|
|
31
|
-
Security fixes will be applied to all supported stable releases, as well
|
|
32
|
-
as the mainline version, as applicable. We recommend using the most recent
|
|
33
|
-
mainline or stable release of nginx. Fixes are created and tested by the core
|
|
34
|
-
team using a GitHub private fork for security. If necessary, the reporter
|
|
35
|
-
may be invited to contribute to the fork and assist with the solution.
|
|
36
|
-
|
|
37
|
-
The nginx team is committed to responsible information disclosure with
|
|
38
|
-
sufficient detail, such as the CVSS score and vector. Privately disclosed
|
|
39
|
-
vulnerabilities are embargoed by default until the fix is released.
|
|
40
|
-
Communications and fixes remain private until made public. As nginx is
|
|
41
|
-
supported by F5, we generally follow the
|
|
42
|
-
[F5 security vulnerability response policy](https://my.f5.com/manage/s/article/K4602).
|
|
43
|
-
|
|
44
|
-
### Vulnerability Disclosure and Fix Service Level Objectives
|
|
45
|
-
|
|
46
|
-
- We will acknowledge all vulnerability reports within 1 to 3 days.
|
|
47
|
-
- Fixes will be developed and released within 90 days from the date of
|
|
48
|
-
disclosure. If an extension is needed, we will work with the disclosing person.
|
|
49
|
-
- Publicly disclosed (i.e., Zero-Day vulnerabilities) will be addressed ASAP.
|
|
50
|
-
|
|
51
|
-
## Confidentiality, Integrity, and Availability
|
|
52
|
-
|
|
53
|
-
### Confidentiality and Integrity
|
|
54
|
-
|
|
55
|
-
Vulnerabilities compromising data confidentiality or integrity are considered
|
|
56
|
-
the highest priority. Any issue leading to unauthorized data access, leaks, or
|
|
57
|
-
manipulation will trigger the security release process.
|
|
58
|
-
|
|
59
|
-
### Availability
|
|
60
|
-
|
|
61
|
-
Availability issues must meet the following criteria to trigger the security
|
|
62
|
-
release process:
|
|
63
|
-
- Is present in a standard module included with nginx.
|
|
64
|
-
- Arises from traffic that the module is designed to handle.
|
|
65
|
-
- Resource exhaustion issues are not mitigated by existing timeout, rate
|
|
66
|
-
limiting, or buffer size configurations, or applying changes is impractical.
|
|
67
|
-
- Results in highly asymmetric, extreme resource consumption.
|
|
68
|
-
|
|
69
|
-
Availability issues excluded from the security release process:
|
|
70
|
-
- Local file content or upstream response content resulting only in worker
|
|
71
|
-
process termination.
|
|
72
|
-
- Issues with experimental features which result only in availability impact.
|
|
73
|
-
|
|
74
|
-
## Trusted Configurations and Misconfigurations
|
|
75
|
-
|
|
76
|
-
In nginx, configuration files, modules, certificate/key pairs, nginx JavaScript,
|
|
77
|
-
and local file content are considered trusted sources. Issues arising from
|
|
78
|
-
loading or execution of these trusted components are not considered
|
|
79
|
-
vulnerabilities. Operators are responsible for securing and maintaining the
|
|
80
|
-
integrity of these sources. Misconfigurations can create vulnerabilities, and
|
|
81
|
-
operators should implement configurations according to best practices, review
|
|
82
|
-
them regularly, and apply security updates.
|
|
83
|
-
|
|
84
|
-
## Data Plane vs. Control Plane
|
|
85
|
-
|
|
86
|
-
The data plane handles traffic through nginx, directly interacting with user
|
|
87
|
-
data. nginx inherently trusts the content and instructions from upstream
|
|
88
|
-
servers. The control plane governs configuration, management, and orchestration.
|
|
89
|
-
Misconfigurations or vulnerabilities in the control plane can cause improper
|
|
90
|
-
behavior in the data plane.
|
|
91
|
-
|
|
92
|
-
## Modules Under Scope
|
|
93
|
-
|
|
94
|
-
The policy applies to all nginx modules included in this repository. Security
|
|
95
|
-
considerations and attack vectors for each module will be identified, with
|
|
96
|
-
recommended configurations to mitigate risks.
|
|
97
|
-
|
|
98
|
-
## Debug Logging and Core Files
|
|
99
|
-
|
|
100
|
-
Debug logs and core files produced by nginx may contain un-sanitized data,
|
|
101
|
-
including sensitive information like client requests, server configurations,
|
|
102
|
-
and private key material. These artifacts must be handled carefully to avoid
|
|
103
|
-
exposing confidential data.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
(C) 1995-2024 Jean-loup Gailly and Mark Adler
|
|
2
|
-
|
|
3
|
-
This software is provided 'as-is', without any express or implied
|
|
4
|
-
warranty. In no event will the authors be held liable for any damages
|
|
5
|
-
arising from the use of this software.
|
|
6
|
-
|
|
7
|
-
Permission is granted to anyone to use this software for any purpose,
|
|
8
|
-
including commercial applications, and to alter it and redistribute it
|
|
9
|
-
freely, subject to the following restrictions:
|
|
10
|
-
|
|
11
|
-
1. The origin of this software must not be misrepresented; you must not
|
|
12
|
-
claim that you wrote the original software. If you use this software
|
|
13
|
-
in a product, an acknowledgment in the product documentation would be
|
|
14
|
-
appreciated but is not required.
|
|
15
|
-
2. Altered source versions must be plainly marked as such, and must not be
|
|
16
|
-
misrepresented as being the original software.
|
|
17
|
-
3. This notice may not be removed or altered from any source distribution.
|
|
18
|
-
|
|
19
|
-
Jean-loup Gailly Mark Adler
|
|
20
|
-
jloup@gzip.org madler@alumni.caltech.edu
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Error</title>
|
|
5
|
-
<style>
|
|
6
|
-
html { color-scheme: light dark; }
|
|
7
|
-
body { width: 35em; margin: 0 auto;
|
|
8
|
-
font-family: Tahoma, Verdana, Arial, sans-serif; }
|
|
9
|
-
</style>
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<h1>An error occurred.</h1>
|
|
13
|
-
<p>Sorry, the page you are looking for is currently unavailable.<br/>
|
|
14
|
-
Please try again later.</p>
|
|
15
|
-
<p>If you are the system administrator of this resource then you should check
|
|
16
|
-
the error log for details.</p>
|
|
17
|
-
<p><em>Faithfully yours, nginx.</em></p>
|
|
18
|
-
</body>
|
|
19
|
-
</html>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Welcome to nginx!</title>
|
|
5
|
-
<style>
|
|
6
|
-
html { color-scheme: light dark; }
|
|
7
|
-
body { width: 35em; margin: 0 auto;
|
|
8
|
-
font-family: Tahoma, Verdana, Arial, sans-serif; }
|
|
9
|
-
</style>
|
|
10
|
-
</head>
|
|
11
|
-
<body>
|
|
12
|
-
<h1>Welcome to nginx!</h1>
|
|
13
|
-
<p>If you see this page, the nginx web server is successfully installed and
|
|
14
|
-
working. Further configuration is required.</p>
|
|
15
|
-
|
|
16
|
-
<p>For online documentation and support please refer to
|
|
17
|
-
<a href="http://nginx.org/">nginx.org</a>.<br/>
|
|
18
|
-
Commercial support is available at
|
|
19
|
-
<a href="http://nginx.com/">nginx.com</a>.</p>
|
|
20
|
-
|
|
21
|
-
<p><em>Thank you for using nginx.</em></p>
|
|
22
|
-
</body>
|
|
23
|
-
</html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
2025/07/02 10:38:20 [emerg] 15296#27856: invalid port in upstream "localhost:80801" in C:\Users\w1768\Documents\wk\web\nginxManagement\backend\nginx-1.28.0/conf/api.conf:7
|
|
2
|
-
2025/07/02 10:38:25 [emerg] 34464#33708: invalid port in upstream "localhost:80801" in C:\Users\w1768\Documents\wk\web\nginxManagement\backend\nginx-1.28.0/conf/api.conf:7
|
|
3
|
-
2025/07/02 10:39:42 [notice] 14620#808: signal process started
|
|
4
|
-
2025/07/02 10:39:42 [error] 14620#808: invalid PID number "" in "C:\Users\w1768\Documents\wk\web\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid"
|
|
5
|
-
2025/07/02 10:43:43 [notice] 28692#33032: signal process started
|
|
6
|
-
2025/07/02 10:43:43 [error] 28692#33032: invalid PID number "" in "C:\Users\w1768\Documents\wk\web\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid"
|
|
7
|
-
2025/07/02 10:43:45 [notice] 31940#3284: signal process started
|
|
8
|
-
2025/07/02 10:43:45 [error] 31940#3284: invalid PID number "" in "C:\Users\w1768\Documents\wk\web\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid"
|
|
9
|
-
2025/07/02 10:43:48 [notice] 26348#28536: signal process started
|
|
10
|
-
2025/07/02 10:43:48 [error] 26348#28536: invalid PID number "" in "C:\Users\w1768\Documents\wk\web\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid"
|
|
11
|
-
2025/07/02 10:45:24 [notice] 14632#32912: signal process started
|
|
12
|
-
2025/07/02 10:45:24 [error] 14632#32912: invalid PID number "" in "C:\Users\w1768\Documents\wk\web\nginxManagement\backend\nginx-1.28.0/logs/nginx.pid"
|
|
13
|
-
2025/07/02 10:47:53 [notice] 31088#29580: signal process started
|
|
14
|
-
2025/07/02 10:48:04 [notice] 13636#28108: signal process started
|
|
15
|
-
2025/07/02 10:48:06 [notice] 3644#32680: signal process started
|
|
16
|
-
2025/07/03 09:13:00 [notice] 28356#28164: signal process started
|
|
17
|
-
2025/07/03 10:05:23 [notice] 31992#12720: signal process started
|
|
18
|
-
2025/07/03 10:11:17 [notice] 29132#19404: signal process started
|
|
19
|
-
2025/07/03 10:49:02 [notice] 10400#28508: signal process started
|
|
20
|
-
2025/07/03 10:52:30 [notice] 33048#30396: signal process started
|
|
21
|
-
2025/07/03 10:52:37 [notice] 16144#27736: signal process started
|
|
22
|
-
2025/07/03 10:52:53 [notice] 26948#27324: signal process started
|
|
23
|
-
2025/07/03 10:53:20 [notice] 30212#30396: signal process started
|
|
24
|
-
2025/07/03 10:53:31 [notice] 34408#12892: signal process started
|
|
25
|
-
2025/07/03 10:53:36 [notice] 27200#29132: signal process started
|
|
26
|
-
2025/07/03 10:55:30 [notice] 25312#31604: signal process started
|
|
27
|
-
2025/07/03 10:55:55 [notice] 10332#29032: signal process started
|
|
28
|
-
2025/07/03 10:55:55 [error] 10332#29032: OpenEvent("Global\ngx_stop_14148") failed (2: The system cannot find the file specified)
|
|
29
|
-
2025/07/03 10:57:33 [notice] 25464#17272: signal process started
|
|
30
|
-
2025/07/03 10:57:44 [notice] 1416#31524: signal process started
|
|
31
|
-
2025/07/03 10:58:07 [notice] 17908#27604: signal process started
|
|
32
|
-
2025/07/03 11:02:22 [notice] 19508#5724: signal process started
|
|
33
|
-
2025/07/03 11:02:49 [notice] 19516#28348: signal process started
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.card-header[data-v-4ed7fb36]{display:flex;justify-content:space-between;align-items:center}.header-actions[data-v-4ed7fb36]{display:flex;gap:10px}.config-content[data-v-4ed7fb36]{margin-bottom:30px}.config-preview[data-v-4ed7fb36]{margin-top:30px}.config-preview h3[data-v-4ed7fb36]{margin-bottom:15px;color:#303133}.el-table[data-v-4ed7fb36]{margin-bottom:10px}.el-form-item[data-v-4ed7fb36]{margin-bottom:20px}.proxy-addresses[data-v-4ed7fb36]{display:flex;flex-direction:column;gap:5px}.proxy-address-item[data-v-4ed7fb36]{display:flex;gap:5px;align-items:center}.proxy-address-item .el-input[data-v-4ed7fb36]{flex:1}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as C,r as d,c as N,o as D,a as e,w as a,b as l,d as t,t as i}from"./index-D80vACWt.js";const R={class:"dashboard-container"},S={class:"card-header"},h={class:"card-header"},z={class:"stat-value"},E={class:"card-header"},I={class:"stat-value"},P={class:"card-header"},T={class:"stat-value"},U={slot:"header",class:"card-header"},j={class:"chart-container"},A={__name:"index",setup(F){const m=d(128),v=d(35.6),f=d(99.8),p=d("today"),g=d([{domain:"api.example.com",requests:12543,percentage:"45.2%"},{domain:"www.example.com",requests:8762,percentage:"31.4%"},{domain:"static.example.com",requests:6321,percentage:"22.8%"},{domain:"admin.example.com",requests:1532,percentage:"5.5%"}]);return(G,s)=>{const b=l("monitor"),c=l("el-icon"),o=l("el-card"),n=l("el-col"),x=l("connection"),w=l("refresh-left"),q=l("success"),u=l("el-row"),r=l("el-option"),y=l("el-select"),V=l("el-progress"),_=l("el-table-column"),k=l("el-table");return D(),N("div",R,[e(u,{gutter:20},{default:a(()=>[e(n,{span:6},{default:a(()=>[e(o,{class:"stat-card"},{default:a(()=>[t("div",S,[e(c,{class:"card-icon"},{default:a(()=>[e(b)]),_:1}),s[1]||(s[1]=t("span",null,"服务器状态",-1))]),s[2]||(s[2]=t("div",{class:"stat-value"},"运行中",-1)),s[3]||(s[3]=t("div",{class:"stat-desc"},"Nginx 1.23.3",-1))]),_:1,__:[2,3]})]),_:1}),e(n,{span:6},{default:a(()=>[e(o,{class:"stat-card"},{default:a(()=>[t("div",h,[e(c,{class:"card-icon"},{default:a(()=>[e(x)]),_:1}),s[4]||(s[4]=t("span",null,"活跃连接",-1))]),t("div",z,i(m.value),1),s[5]||(s[5]=t("div",{class:"stat-desc"},"较昨日 +12%",-1))]),_:1,__:[5]})]),_:1}),e(n,{span:6},{default:a(()=>[e(o,{class:"stat-card"},{default:a(()=>[t("div",E,[e(c,{class:"card-icon"},{default:a(()=>[e(w)]),_:1}),s[6]||(s[6]=t("span",null,"请求/秒",-1))]),t("div",I,i(v.value),1),s[7]||(s[7]=t("div",{class:"stat-desc"},"较昨日 +5%",-1))]),_:1,__:[7]})]),_:1}),e(n,{span:6},{default:a(()=>[e(o,{class:"stat-card"},{default:a(()=>[t("div",P,[e(c,{class:"card-icon"},{default:a(()=>[e(q)]),_:1}),s[8]||(s[8]=t("span",null,"成功率",-1))]),t("div",T,i(f.value)+"%",1),s[9]||(s[9]=t("div",{class:"stat-desc"},"较昨日 -1%",-1))]),_:1,__:[9]})]),_:1})]),_:1}),e(u,{gutter:20,style:{"margin-top":"20px"}},{default:a(()=>[e(n,{span:16},{default:a(()=>[e(o,null,{default:a(()=>[t("div",U,[s[10]||(s[10]=t("span",null,"请求趋势",-1)),e(y,{modelValue:p.value,"onUpdate:modelValue":s[0]||(s[0]=B=>p.value=B),size:"small",style:{"margin-left":"10px"}},{default:a(()=>[e(r,{label:"今日",value:"today"}),e(r,{label:"本周",value:"week"}),e(r,{label:"本月",value:"month"})]),_:1},8,["modelValue"])]),t("div",j,[e(V,{percentage:65,status:"success"}),s[11]||(s[11]=t("div",{class:"chart-placeholder"},"请求趋势图表将显示在这里",-1))])]),_:1})]),_:1}),e(n,{span:8},{default:a(()=>[e(o,null,{default:a(()=>[s[12]||(s[12]=t("div",{slot:"header",class:"card-header"},[t("span",null,"Top 访问域名")],-1)),e(k,{data:g.value},{default:a(()=>[e(_,{prop:"domain",label:"域名"}),e(_,{prop:"requests",label:"请求数"}),e(_,{prop:"percentage",label:"占比"})]),_:1},8,["data"])]),_:1,__:[12]})]),_:1})]),_:1})])}}},J=C(A,[["__scopeId","data-v-c33ec8b9"]]);export{J as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.dashboard-container[data-v-c33ec8b9]{padding:10px}.stat-card[data-v-c33ec8b9]{height:100%;transition:all .3s ease}.stat-card[data-v-c33ec8b9]:hover{transform:translateY(-5px);box-shadow:0 10px 20px #0000001a}.card-header[data-v-c33ec8b9]{display:flex;align-items:center;margin-bottom:15px;color:#606266}.card-icon[data-v-c33ec8b9]{margin-right:8px;color:#409eff}.stat-value[data-v-c33ec8b9]{font-size:24px;font-weight:700;margin-bottom:5px}.stat-desc[data-v-c33ec8b9]{color:#909399;font-size:14px}.chart-container[data-v-c33ec8b9]{height:300px;display:flex;flex-direction:column;justify-content:center;align-items:center}.chart-placeholder[data-v-c33ec8b9]{margin-top:20px;color:#909399}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.card-header[data-v-1ea91675]{display:flex;justify-content:space-between;align-items:center}.header-actions[data-v-1ea91675]{display:flex;gap:10px}.config-content[data-v-1ea91675]{margin-bottom:30px}.config-preview[data-v-1ea91675]{margin-top:30px}.config-preview h3[data-v-1ea91675]{margin-bottom:15px;color:#303133}.el-table[data-v-1ea91675]{margin-bottom:10px}.el-form-item[data-v-1ea91675]{margin-bottom:20px}.proxy-addresses[data-v-1ea91675]{display:flex;flex-direction:column;gap:5px}.proxy-address-item[data-v-1ea91675]{display:flex;gap:5px;align-items:center}.proxy-address-item .el-input[data-v-1ea91675]{flex:1}
|