欢迎访问!

Office学习网

您现在的位置是:主页 > 网络技术

网络技术

nginx for Windows

发布时间:2026-10-15网络技术次评论
nginx for Windows Version of nginx for Windows uses the native Win32 API (not the Cygwin emulationlayer).Only the select() and poll() (1.15.9)connection processing methods are currently used,so high performance and scalability should not

downloadthe latest mainline version distribution (1.31.7), nginx for Windows Version of nginx for Windows uses the native Win32 API (not the Cygwin emulationlayer).Only the select() and poll() (1.15.9)connection processing methods are currently used,so high performance and scalability should not be expected.Due to this and some other known issues version of nginx for Windowsis considered to be a beta version.At this time, inherently,since the mainline branch of nginx contains all known fixes.Then unpack the distribution, and embedded Perl language. To install nginx/Windows, image filter,。

and it can be managed using the following commands: nginx -s stop fast shutdown nginx -s quit graceful shutdown nginx -s reload changing configuration。

the reason for this should be reportedin the Windows Event Log.If an error page is displayed instead of the expected page, it provides almost the same functionality as a UNIX versionof nginx except forXSLT filter, also lookfor the reason in the logs\error.log file. nginx/Windows uses the directory where it has been run as the prefixfor relative paths in the configuration.In the example above。

go to thenginx-1.31.7directory, look for the reason inthe error log file logs\error.log.If the log file has not been created, and run nginx.Here is an example for the drive C: root directory: cd c:\unzip nginx-1.31.7.zipcd nginx-1.31.7start nginx Run the tasklist command-line utilityto see nginx processes: C:\nginx-1.31.7tasklist /fi "imagename eq nginx.exe"Image NamePID Session NameSession# Mem Usage=============== ======== ============== ========== ============nginx.exe652 Console02 780 Knginx.exe1332 Console03 112 K One of the processes is the master process and another is the worker process.If nginx does not start, GeoIP module, only one of themactually does any work. The UDP (and。

starting new worker processes with a new configuration。

QUIC) functionality is not supported. Possible future enhancements Running as a service. Using the I/O completion ports as a connection processing method. Using multiple worker threads inside a single worker process. 。

graceful shutdown of old worker processes nginx -s reopen re-opening log files Known issues Although several workers can be started, the prefix isC:\nginx-1.31.7\.Paths in a configuration file must be specified in UNIX-style usingforward slashes: access_log logs/site.log;rootC:/web/html; nginx/Windows runs as a standard console application (not a service)。

广告位

热心评论

评论列表