|
2 | 2 | :og:description: Create and maintain a working configuration using
|
3 | 3 | listeners, routes, apps, and upstreams.
|
4 | 4 |
|
5 |
| -.. include:: include/replace.rst |
| 5 | +.. include:: ../include/replace.rst |
6 | 6 |
|
7 | 7 | #############
|
8 | 8 | Configuration
|
@@ -2228,7 +2228,7 @@ affects the resulting response headers.
|
2228 | 2228 | The values support
|
2229 | 2229 | :ref:`variables <configuration-variables>`
|
2230 | 2230 | and
|
2231 |
| -:doc:`template literals <scripting>`, |
| 2231 | +:doc:`template literals <../scripting>`, |
2232 | 2232 | which enables arbitrary runtime logic:
|
2233 | 2233 |
|
2234 | 2234 | .. code-block:: json
|
@@ -2441,7 +2441,7 @@ A **share**-based action provides the following options:
|
2441 | 2441 | <installation-precomp-pkgs>`,
|
2442 | 2442 | the process runs as **unit:unit**;
|
2443 | 2443 | for details of other installation methods,
|
2444 |
| - see :doc:`installation`. |
| 2444 | + see :doc:`../installation`. |
2445 | 2445 |
|
2446 | 2446 | Consider the following configuration:
|
2447 | 2447 |
|
@@ -3988,7 +3988,7 @@ and rebuild the app.
|
3988 | 3988 | # yum install unit-devel
|
3989 | 3989 |
|
3990 | 3990 | - If you installed Unit from
|
3991 |
| - :doc:`source <howto/source>`, |
| 3991 | + :doc:`source <../howto/source>`, |
3992 | 3992 | install the include files and libraries:
|
3993 | 3993 |
|
3994 | 3994 | .. code-block:: console
|
@@ -4101,7 +4101,7 @@ Example:
|
4101 | 4101 |
|
4102 | 4102 | For Go-based examples,
|
4103 | 4103 | see our
|
4104 |
| - :doc:`howto/grafana` |
| 4104 | + :doc:`../howto/grafana` |
4105 | 4105 | howto or a basic
|
4106 | 4106 | :ref:`sample <sample-go>`.
|
4107 | 4107 |
|
@@ -4191,10 +4191,10 @@ Example:
|
4191 | 4191 |
|
4192 | 4192 | For Java-based examples,
|
4193 | 4193 | see our
|
4194 |
| - :doc:`howto/jira`, |
4195 |
| - :doc:`howto/opengrok`, |
| 4194 | + :doc:`../howto/jira`, |
| 4195 | + :doc:`../howto/opengrok`, |
4196 | 4196 | and
|
4197 |
| - :doc:`howto/springboot` |
| 4197 | + :doc:`../howto/springboot` |
4198 | 4198 | howtos or a basic
|
4199 | 4199 | :ref:`sample <sample-java>`.
|
4200 | 4200 |
|
@@ -4343,9 +4343,9 @@ your app only needs to replace the default **websocket**:
|
4343 | 4343 |
|
4344 | 4344 | For Node.js-based examples,
|
4345 | 4345 | see our
|
4346 |
| - :doc:`howto/apollo`, |
4347 |
| - :doc:`howto/express`, |
4348 |
| - :doc:`howto/koa`, |
| 4346 | + :doc:`../howto/apollo`, |
| 4347 | + :doc:`../howto/express`, |
| 4348 | + :doc:`../howto/koa`, |
4349 | 4349 | and
|
4350 | 4350 | :ref:`Docker <docker-apps>`
|
4351 | 4351 | howtos or a basic
|
@@ -4412,9 +4412,9 @@ Example:
|
4412 | 4412 |
|
4413 | 4413 | For Perl-based examples of Perl,
|
4414 | 4414 | see our
|
4415 |
| - :doc:`howto/bugzilla` |
| 4415 | + :doc:`../howto/bugzilla` |
4416 | 4416 | and
|
4417 |
| - :doc:`howto/catalyst` |
| 4417 | + :doc:`../howto/catalyst` |
4418 | 4418 | howtos or a basic
|
4419 | 4419 | :ref:`sample <sample-perl>`.
|
4420 | 4420 |
|
@@ -4665,23 +4665,23 @@ are shared by all targets within the app.
|
4665 | 4665 |
|
4666 | 4666 | For PHP-based examples,
|
4667 | 4667 | see our
|
4668 |
| - :doc:`howto/cakephp`, |
4669 |
| - :doc:`howto/codeigniter`, |
4670 |
| - :doc:`howto/dokuwiki`, |
4671 |
| - :doc:`howto/drupal`, |
4672 |
| - :doc:`howto/laravel`, |
4673 |
| - :doc:`howto/lumen`, |
4674 |
| - :doc:`howto/matomo`, |
4675 |
| - :doc:`howto/mediawiki`, |
4676 |
| - :doc:`howto/modx`, |
4677 |
| - :doc:`howto/nextcloud`, |
4678 |
| - :doc:`howto/phpbb`, |
4679 |
| - :doc:`howto/phpmyadmin`, |
4680 |
| - :doc:`howto/roundcube`, |
4681 |
| - :doc:`howto/symfony`, |
4682 |
| - :doc:`howto/wordpress`, |
| 4668 | + :doc:`../howto/cakephp`, |
| 4669 | + :doc:`../howto/codeigniter`, |
| 4670 | + :doc:`../howto/dokuwiki`, |
| 4671 | + :doc:`../howto/drupal`, |
| 4672 | + :doc:`../howto/laravel`, |
| 4673 | + :doc:`../howto/lumen`, |
| 4674 | + :doc:`../howto/matomo`, |
| 4675 | + :doc:`../howto/mediawiki`, |
| 4676 | + :doc:`../howto/modx`, |
| 4677 | + :doc:`../howto/nextcloud`, |
| 4678 | + :doc:`../howto/phpbb`, |
| 4679 | + :doc:`../howto/phpmyadmin`, |
| 4680 | + :doc:`../howto/roundcube`, |
| 4681 | + :doc:`../howto/symfony`, |
| 4682 | + :doc:`../howto/wordpress`, |
4683 | 4683 | and
|
4684 |
| - :doc:`howto/yii` |
| 4684 | + :doc:`../howto/yii` |
4685 | 4685 | howtos or a basic
|
4686 | 4686 | :ref:`sample <sample-php>`.
|
4687 | 4687 |
|
@@ -4972,27 +4972,27 @@ are shared by all targets in the app.
|
4972 | 4972 |
|
4973 | 4973 | For Python-based examples,
|
4974 | 4974 | see our
|
4975 |
| - :doc:`howto/bottle`, |
4976 |
| - :doc:`howto/datasette`, |
4977 |
| - :doc:`howto/django`, |
4978 |
| - :doc:`howto/djangochannels`, |
4979 |
| - :doc:`howto/falcon`, |
4980 |
| - :doc:`howto/fastapi`, |
4981 |
| - :doc:`howto/flask`, |
4982 |
| - :doc:`howto/guillotina`, |
4983 |
| - :doc:`howto/mailman`, |
4984 |
| - :doc:`howto/mercurial`, |
4985 |
| - :doc:`howto/moin`, |
4986 |
| - :doc:`howto/plone`, |
4987 |
| - :doc:`howto/pyramid`, |
4988 |
| - :doc:`howto/quart`, |
4989 |
| - :doc:`howto/responder`, |
4990 |
| - :doc:`howto/reviewboard`, |
4991 |
| - :doc:`howto/sanic`, |
4992 |
| - :doc:`howto/starlette`, |
4993 |
| - :doc:`howto/trac`, |
| 4975 | + :doc:`../howto/bottle`, |
| 4976 | + :doc:`../howto/datasette`, |
| 4977 | + :doc:`../howto/django`, |
| 4978 | + :doc:`../howto/djangochannels`, |
| 4979 | + :doc:`../howto/falcon`, |
| 4980 | + :doc:`../howto/fastapi`, |
| 4981 | + :doc:`../howto/flask`, |
| 4982 | + :doc:`../howto/guillotina`, |
| 4983 | + :doc:`../howto/mailman`, |
| 4984 | + :doc:`../howto/mercurial`, |
| 4985 | + :doc:`../howto/moin`, |
| 4986 | + :doc:`../howto/plone`, |
| 4987 | + :doc:`../howto/pyramid`, |
| 4988 | + :doc:`../howto/quart`, |
| 4989 | + :doc:`../howto/responder`, |
| 4990 | + :doc:`../howto/reviewboard`, |
| 4991 | + :doc:`../howto/sanic`, |
| 4992 | + :doc:`../howto/starlette`, |
| 4993 | + :doc:`../howto/trac`, |
4994 | 4994 | and
|
4995 |
| - :doc:`howto/zope` |
| 4995 | + :doc:`../howto/zope` |
4996 | 4996 | howtos or a basic
|
4997 | 4997 | :ref:`sample <sample-python>`.
|
4998 | 4998 |
|
@@ -5110,9 +5110,9 @@ to your app.
|
5110 | 5110 |
|
5111 | 5111 | For Ruby-based examples,
|
5112 | 5112 | see our
|
5113 |
| - :doc:`howto/rails` |
| 5113 | + :doc:`../howto/rails` |
5114 | 5114 | and
|
5115 |
| - :doc:`howto/redmine` |
| 5115 | + :doc:`../howto/redmine` |
5116 | 5116 | howtos or a basic
|
5117 | 5117 | :ref:`sample <sample-ruby>`.
|
5118 | 5118 |
|
@@ -5366,9 +5366,9 @@ that stores instance-wide preferences.
|
5366 | 5366 | - String or an array of strings;
|
5367 | 5367 | lists enabled
|
5368 | 5368 | :program:`njs`
|
5369 |
| - :doc:`modules <scripting>`, |
| 5369 | + :doc:`modules <../scripting>`, |
5370 | 5370 | uploaded
|
5371 |
| - via the :doc:`control API <controlapi>`. |
| 5371 | + via the :doc:`control API <../controlapi>`. |
5372 | 5372 |
|
5373 | 5373 | In turn, the **http** option exposes the following settings:
|
5374 | 5374 |
|
@@ -5591,7 +5591,7 @@ is formed *after* the request has been handled.
|
5591 | 5591 | Besides
|
5592 | 5592 | :ref:`built-in variables <configuration-variables-native>`,
|
5593 | 5593 | you can use :program:`njs`
|
5594 |
| -:doc:`templates <scripting>` |
| 5594 | +:doc:`templates <../scripting>` |
5595 | 5595 | to define the log format:
|
5596 | 5596 |
|
5597 | 5597 | .. code-block:: json
|
|
0 commit comments