Home > Backend Development > PHP Tutorial > Build a simple and practical version of Nginx file server in Windows environment windows10 download windows optimization master windows7 64-bit flagship

Build a simple and practical version of Nginx file server in Windows environment windows10 download windows optimization master windows7 64-bit flagship

WBOY
Release: 2016-07-29 08:52:39
Original
1857 people have browsed it

In order to solve the project team content application, we plan to share the local e:tools directory. The specific steps are as follows

  1. Download the installation package: http://nginx.org/download/nginx-1.9.15.zip
  2. Unzip
  3. Modify the configuration file nginx.conf and add the following content in the server section

    location /tools {

            alias   E: Tools;

                                                                                                                                                                to to              autoindex on; The effect is as follows:

    Start the service:
    windows10,windows7,windows官网,windows xp,windows8,windows phone,windows10 下载,windows优化大师,windows7 64位旗舰E:ToolsNginxnginx-1.9.15>start nginx.exe

  4. Access the file, and then you can browse the folder contents and download the file:
  5. If you change the configuration file, you can reload the configuration:
  6. E:ToolsNginxnginx-1.9.15>nginx.exe -s reload

  7. windows10,windows7,windows官网,windows xp,windows8,windows phone,windows10 下载,windows优化大师,windows7 64位旗舰Stop the service: E:ToolsNginxnginx-1.9.15>nginx.exe -s stop
  8. The above introduces a simple and practical version of building an Nginx file server in a Windows environment, including Windows aspects. I hope it will be helpful to friends who are interested in PHP tutorials.
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template