Skip to content

Commit 65052f8

Browse files
tianhaopxrikatz
authored andcommitted
add docs for syslog feature (kubernetes#7219)
1 parent 1309588 commit 65052f8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/user-guide/nginx-configuration/configmap.md

+15
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ The following table shows a configuration option's name, type, and the default v
178178
|[proxy-buffering](#proxy-buffering)|string|"off"|
179179
|[limit-req-status-code](#limit-req-status-code)|int|503|
180180
|[limit-conn-status-code](#limit-conn-status-code)|int|503|
181+
|[enable-syslog](#enable-syslog)|bool|false|
182+
|[syslog-host](#syslog-host)|string|""|
183+
|[syslog-port](#syslog-port)|int|514|
181184
|[no-tls-redirect-locations](#no-tls-redirect-locations)|string|"/.well-known/acme-challenge"|
182185
|[global-auth-url](#global-auth-url)|string|""|
183186
|[global-auth-method](#global-auth-method)|string|""|
@@ -1077,6 +1080,18 @@ Sets the [status code to return in response to rejected requests](http://nginx.o
10771080
10781081
Sets the [status code to return in response to rejected connections](http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html#limit_conn_status). _**default:**_ 503
10791082
1083+
## enable-syslog
1084+
1085+
Enable [syslog](http://nginx.org/en/docs/syslog.html) feature for access log and error log. _**default:**_ false
1086+
1087+
## syslog-host
1088+
1089+
Sets the address of syslog server. The address can be specified as a domain name or IP address.
1090+
1091+
## syslog-port
1092+
1093+
Sets the port of syslog server. _**default:**_ 514
1094+
10801095
## no-tls-redirect-locations
10811096
10821097
A comma-separated list of locations on which http requests will never get redirected to their https counterpart.

0 commit comments

Comments
 (0)