See Configure Arguments at nginx. Save the changes and quit vi press ESC and type wq at the : prompt. Add these lines to sources. Add these lines sources. The package can be installed from the official repo at nginx.
You have to set up the apt-get repository the first time, but after that the provided package is always up to date. Import an official nginx signing key so apk could verify the packages authenticity. Fetch the key:. PCRE — Supports regular expressions. Download the source files for both the stable and mainline versions from nginx.
Configure options are specified with the. Some modules are built by default — they do not have to be specified with the configure script. Many NGINX modules are not built by default, and must be listed on the configure command line to be built. See Dynamic Modules for details. Save my name, email, and website in this browser for the next time I comment. Notify me of followup comments via e-mail.
You can also subscribe without commenting. This site uses Akismet to reduce spam. Learn how your comment data is processed. First update the system software packages to the latest version.
Although lightweight in its web server class, it is highly robust and produces impressive results nonetheless. As a result, it has been steadily on the rise and has gained a significant reputation as a reliable web server.
As mentioned earlier, Nginx can be used as an HTTP server, proxy server, load balancer, and mail server as well. This tutorial is going to be about setting up and getting started with the Nginx web server under the FreeBSD Unix-operating system. There, you can find information regarding how to install Nginx and make the most out of its functions with the help of very thorough explanation guides. Once you get a basic understanding of the implied commands, you can start working with Nginx using the Command Prompt native Windows app.
Also worth mentioning is the fact that Nginx comes with a flexible configuration option. In addition, the tool is also well suited for serving static and index files or for autoindexing purposes.
0コメント