README.md fixes.

This commit is contained in:
Igor Sysoev
2017-09-06 19:33:58 +03:00
parent 89df39374c
commit acd7e094b1

View File

@@ -1,8 +1,6 @@
# NGINX Unit
<!-- menu --> <!-- menu -->
- [About](#about) - [NGINX Unit](#about)
- [Installation](#installation) - [Installation](#installation)
- [System Requirements](#system-requirements) - [System Requirements](#system-requirements)
- [Precompiled Packages](#precompiled-packages) - [Precompiled Packages](#precompiled-packages)
@@ -17,7 +15,7 @@
- [Ubuntu Prerequisites](#ubuntu-prerequisits) - [Ubuntu Prerequisites](#ubuntu-prerequisits)
- [CentOS Prerequisites](#centos-prerequisits) - [CentOS Prerequisites](#centos-prerequisits)
- [Configuring Sources](#configuring-sources) - [Configuring Sources](#configuring-sources)
- [Configuring Go package](#configuring-go-package) - [Configuring Go Package](#configuring-go-package)
- [Building the Go Applications](#building-the-go-applications) - [Building the Go Applications](#building-the-go-applications)
- [Configuring PHP Modules](#configuring-php-modules) - [Configuring PHP Modules](#configuring-php-modules)
- [Configuring Python Modules](#configuring-python-modules) - [Configuring Python Modules](#configuring-python-modules)
@@ -46,6 +44,8 @@
- [Full Example](#full-example) - [Full Example](#full-example)
- [Integration with NGINX](#integration-with-nginx) - [Integration with NGINX](#integration-with-nginx)
- [Installing Unit Behind NGINX](#installing-unit-behind-nginx) - [Installing Unit Behind NGINX](#installing-unit-behind-nginx)
- [Example 1](#installing-unit-example1)
- [Example 2](#installing-unit-example2)
- [Securing and Proxying Unit API](#securing-and-proxying-unit-api) - [Securing and Proxying Unit API](#securing-and-proxying-unit-api)
- [Contribution](#contribution) - [Contribution](#contribution)
- [Troubleshooting](#troubleshooting) - [Troubleshooting](#troubleshooting)
@@ -54,7 +54,7 @@
<!-- section:1 --> <!-- section:1 -->
## About ## NGINX Unit
NGINX Unit is a dynamic web application server, designed to run applications NGINX Unit is a dynamic web application server, designed to run applications
in multiple languages. Unit is lightweight, polyglot, and dynamically in multiple languages. Unit is lightweight, polyglot, and dynamically
@@ -145,7 +145,7 @@ Ubuntu&nbsp;16.04&nbsp;LTS.
# apt-get install unit # apt-get install unit
``` ```
### Source code ### Source Code
This section explains how to compile and install Unit from the source code. This section explains how to compile and install Unit from the source code.
@@ -163,7 +163,7 @@ current working directory.
For example, on Ubuntu systems, run this command: For example, on Ubuntu systems, run this command:
``` ```
# apt-get mercurial # apt-get install mercurial
``` ```
2. Download the Unit sources: 2. Download the Unit sources:
@@ -527,7 +527,7 @@ file:
--unix-socket ./control.unit.sock http://localhost/ --unix-socket ./control.unit.sock http://localhost/
``` ```
#### Example: Create an Application Configuration #### Example: Create an Application Object
Create a new application object called **wiki** from the file **wiki.json**. Create a new application object called **wiki** from the file **wiki.json**.
@@ -799,7 +799,7 @@ Example:
<!-- /section:3 --> <!-- /section:3 -->
<!-- /section:4 --> <!-- section:4 -->
## Integration with NGINX ## Integration with NGINX