Ver Fonte

Merge pull request #1326 from Code1110/master

Fixed config sample for Nginx
Tianon Gravi há 7 anos atrás
pai
commit
636e40371e
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      telegraf/content.md

+ 2 - 2
telegraf/content.md

@@ -113,8 +113,8 @@ Create an `nginx_status.conf` configuration file to expose metric data:
 server {
 server {
     listen 8090;
     listen 8090;
     location /nginx_status {
     location /nginx_status {
-        stub_status on;
-        access_log on;
+        stub_status;
+        access_log off;
     }
     }
 }
 }
 ```
 ```