summaryrefslogtreecommitdiffstats
path: root/security/ossec-hids-local-config/files/template-logs-nginx.xml.in
blob: 7d25cf877133560eafce25c6987bbe03d4ad6ca5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8"?>
<template_config os="FreeBSD" profile="%%LOGS_NGINX_PROFILE%%">

  <localfile>
    <log_format>apache</log_format>
    <location>/var/log/nginx/error.log</location>
  </localfile>

  <localfile>
    <log_format>apache</log_format>
    <location>/var/log/nginx/access.log</location>
  </localfile>

</template_config>

<template_config os="Linux" profile="%%LOGS_NGINX_PROFILE%%">

  <localfile>
    <log_format>apache</log_format>
    <location>/var/log/nginx/error.log</location>
  </localfile>

  <localfile>
    <log_format>apache</log_format>
    <location>/var/log/nginx/access.log</location>
  </localfile>

</template_config>