You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/01/17 01:07:15 UTC

[GitHub] [apisix] spacewander commented on a change in pull request #6122: add demonstration of log config of "nginx_config" in docs.

spacewander commented on a change in pull request #6122:
URL: https://github.com/apache/apisix/pull/6122#discussion_r785582695



##########
File path: docs/en/latest/customize-nginx-configuration.md
##########
@@ -25,37 +25,78 @@ The Nginx configuration used by APISIX is generated via the template file `apisi
 
 You can take a look at the generated Nginx configuration in `conf/nginx.conf` after running `./bin/apisix start`.
 
-If you want to customize the Nginx configuration, please read through the `nginx_config` in `conf/config-default.yaml`. You can override the default value in the `conf/config.yaml`. For instance, you can inject some snippets in the `conf/nginx.conf` via configuring the `xxx_snippet` entries:
+If you want to customize the Nginx configuration, please read through the `nginx_config` in `conf/config-default.yaml`. You can override the default value in the `conf/config.yaml`. For instance, you can custum access_log_format via configuring the `http` entries; you can inject some snippets in the `conf/nginx.conf` via configuring the `xxx_snippet` entries:
 
 ```yaml
 ...
 # put this in config.yaml:
 nginx_config:
-    main_configuration_snippet: |

Review comment:
       I don't think the original indent (4 spaces) is wrong.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org