diff --git a/CHANGES/12703.bugfix.rst b/CHANGES/12703.bugfix.rst new file mode 100644 index 00000000000..7cfca2415c3 --- /dev/null +++ b/CHANGES/12703.bugfix.rst @@ -0,0 +1 @@ +Fixed irrelevant URLs pointing to the corresponding sections in the documentation of Gunicorn -- by :user:`serhiiur`. diff --git a/docs/deployment.rst b/docs/deployment.rst index 60f218e848d..16c55b4567e 100644 --- a/docs/deployment.rst +++ b/docs/deployment.rst @@ -192,7 +192,7 @@ Nginx+Gunicorn ============== aiohttp can be deployed using `Gunicorn -`_, which is based on a +`_, which is based on a pre-fork worker model. Gunicorn launches your app as worker processes for handling incoming requests. @@ -264,10 +264,10 @@ Start Gunicorn -------------- When `Running Gunicorn -`_, you provide the name +`_, you provide the name of the module, i.e. *my_app_module*, and the name of the app or application factory, i.e. *my_web_app*, along with other `Gunicorn -Settings `_ provided +Settings `_ provided as command line flags or in your config file. In this case, we will use: @@ -279,7 +279,7 @@ In this case, we will use: * you may also want to use the ``--workers`` flag to tell Gunicorn how many worker processes to use for handling requests. (See the documentation for recommendations on `How Many Workers? - `_) + `_) * you may also want to use the ``--accesslog`` flag to enable the access log to be populated. (See :ref:`logging ` for more information.) @@ -390,7 +390,7 @@ More information ---------------- See the `official documentation -`_ for more +`_ for more information about suggested nginx configuration. You can also find out more about `configuring for secure https connections as well. `_ diff --git a/docs/logging.rst b/docs/logging.rst index 9d718fac16a..3121dbfbd45 100644 --- a/docs/logging.rst +++ b/docs/logging.rst @@ -193,7 +193,7 @@ instance) to the :meth:`aiohttp.web.AppRunner` constructor. .. _access_logformat: - http://docs.gunicorn.org/en/stable/settings.html#access-log-format + https://gunicorn.org/reference/settings/#access_log_format .. _accesslog: - http://docs.gunicorn.org/en/stable/settings.html#accesslog + https://gunicorn.org/reference/settings/#accesslog