<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[NGINX logs format]]></title><description><![CDATA[<p dir="auto">I'm looking at the NGINX log format and I see that its a format called "combined2" and it appears to be slightly different the the default "combined" format. Is there a reason for this? I'm trying to get my crowdsec install to parse these logs but it seems to not parse them(prob due to the fact they appear to be of a custom format"  Can i change this to default?</p>
]]></description><link>https://forum.cloudron.io/topic/6077/nginx-logs-format</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 20:10:36 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6077.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Nov 2021 23:29:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NGINX logs format on Sun, 12 Dec 2021 01:32:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mastadamus" aria-label="Profile: mastadamus">@<bdi>mastadamus</bdi></a> Can you add that as a feature request and mention this thread?</p>
]]></description><link>https://forum.cloudron.io/post/40395</link><guid isPermaLink="true">https://forum.cloudron.io/post/40395</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Sun, 12 Dec 2021 01:32:47 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Sat, 11 Dec 2021 18:06:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mastadamus" aria-label="Profile: mastadamus">@<bdi>mastadamus</bdi></a> As a bonus by changing the NGINX logs back to default, my Wazuh agent is now able to parse them fully and i'm getting full monitoring capability from wazuh for the NGINX.. I've even had 2 active response actions taken to block IP's by wazuh since i've switched. I think cloudron team should leave these at default TBH.</p>
]]></description><link>https://forum.cloudron.io/post/40389</link><guid isPermaLink="true">https://forum.cloudron.io/post/40389</guid><dc:creator><![CDATA[Mastadamus]]></dc:creator><pubDate>Sat, 11 Dec 2021 18:06:05 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Fri, 10 Dec 2021 23:35:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a></p>
<pre><code>user www-data;

# detect based on available CPU cores
worker_processes  auto;

# this is 4096 by default. See /proc/&lt;PID&gt;/limits and /etc/security/limits.conf
# usually twice the worker_connections (one for uptsream, one for downstream)
# see also LimitNOFILE=16384 in systemd drop-in
worker_rlimit_nofile 8192;

pid /run/nginx.pid;

events {
    # a single worker has these many simultaneous connections max
    worker_connections  4096;
}

http {
    include       mime.types;
    default_type  application/octet-stream;

    # the collectd config depends on this log format




    # required for long host names
    server_names_hash_bucket_size 128;

    access_log /var/log/nginx/access.log combined;

    sendfile        on;

    # timeout for client to finish sending headers
    client_header_timeout 30s;

    # timeout for reading client request body (successive read timeout and not whole body!)
    client_body_timeout 60s;

    # keep-alive connections timeout in 65s. this is because many browsers timeout in 60 seconds
    keepalive_timeout  65s;

    # zones for rate limiting
    limit_req_zone $binary_remote_addr zone=admin_login:10m rate=10r/s; # 10 request a second

    include applications/*.conf;
}

</code></pre>
]]></description><link>https://forum.cloudron.io/post/40364</link><guid isPermaLink="true">https://forum.cloudron.io/post/40364</guid><dc:creator><![CDATA[Mastadamus]]></dc:creator><pubDate>Fri, 10 Dec 2021 23:35:12 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Fri, 10 Dec 2021 20:27:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robi" aria-label="Profile: robi">@<bdi>robi</bdi></a> yes. I will after work.</p>
]]></description><link>https://forum.cloudron.io/post/40362</link><guid isPermaLink="true">https://forum.cloudron.io/post/40362</guid><dc:creator><![CDATA[Mastadamus]]></dc:creator><pubDate>Fri, 10 Dec 2021 20:27:26 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Fri, 10 Dec 2021 04:50:58 GMT]]></title><description><![CDATA[<p dir="auto">can you post the known  good config that worked in the end, for others to find later?</p>
]]></description><link>https://forum.cloudron.io/post/40338</link><guid isPermaLink="true">https://forum.cloudron.io/post/40338</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Fri, 10 Dec 2021 04:50:58 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Fri, 10 Dec 2021 02:32:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> I did check that initially and I finally figured out why. I put</p>
<p dir="auto">log_format combined '$remote_addr - $remote_user [$time_local] '<br />
'"$request" $status $body_bytes_sent '<br />
'"$http_referer" "$http_user_agent"';</p>
<p dir="auto">but this was unnecessary and ended up throwing an error</p>
]]></description><link>https://forum.cloudron.io/post/40334</link><guid isPermaLink="true">https://forum.cloudron.io/post/40334</guid><dc:creator><![CDATA[Mastadamus]]></dc:creator><pubDate>Fri, 10 Dec 2021 02:32:00 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Fri, 10 Dec 2021 02:18:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mastadamus" aria-label="Profile: mastadamus">@<bdi>mastadamus</bdi></a> have you checked the nginx logs? I think <code>journalctl -u nginx -fa</code> should tell you why it's not starting up. AFAIK, changing log format shouldn't affect Cloudron code.</p>
]]></description><link>https://forum.cloudron.io/post/40329</link><guid isPermaLink="true">https://forum.cloudron.io/post/40329</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 10 Dec 2021 02:18:05 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Fri, 10 Dec 2021 02:09:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> So i changed the default nginx.conf to the default combined log format and it ended up working as far as parsing the logs with crowdsec BUT when I rebooted my cloudron the NGINX service wouldn't come back up. Why does changing that prevent the NGINX service from restarting? You have any ideas?</p>
]]></description><link>https://forum.cloudron.io/post/40328</link><guid isPermaLink="true">https://forum.cloudron.io/post/40328</guid><dc:creator><![CDATA[Mastadamus]]></dc:creator><pubDate>Fri, 10 Dec 2021 02:09:05 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Wed, 08 Dec 2021 21:57:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> yeah I'll give that a try.</p>
]]></description><link>https://forum.cloudron.io/post/40291</link><guid isPermaLink="true">https://forum.cloudron.io/post/40291</guid><dc:creator><![CDATA[Mastadamus]]></dc:creator><pubDate>Wed, 08 Dec 2021 21:57:47 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Sun, 05 Dec 2021 20:48:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mastadamus" aria-label="Profile: mastadamus">@<bdi>mastadamus</bdi></a> for the moment, maybe you can edit the nginx conf temporarily as needed? It's in <code>/home/yellowtent/platformdata/nginx/nginx.conf</code>. That part of nginx conf is only updated on a new Cloudron release (and not on app updates).</p>
]]></description><link>https://forum.cloudron.io/post/40160</link><guid isPermaLink="true">https://forum.cloudron.io/post/40160</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sun, 05 Dec 2021 20:48:01 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Sun, 05 Dec 2021 04:13:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Is it possible to just use the basic default log format? I'm attempting to integrate crowdsec with cloudron NGINX..but the parser for crowdsec is looking for default NGINX log format. I'd have to write a new parser which admittedly I'm prob not able to do technically at this time. I gotta get stronger with the crowdsec parser format and grok.</p>
]]></description><link>https://forum.cloudron.io/post/40140</link><guid isPermaLink="true">https://forum.cloudron.io/post/40140</guid><dc:creator><![CDATA[Mastadamus]]></dc:creator><pubDate>Sun, 05 Dec 2021 04:13:09 GMT</pubDate></item><item><title><![CDATA[Reply to NGINX logs format on Sat, 04 Dec 2021 03:37:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mastadamus" aria-label="Profile: mastadamus">@<bdi>mastadamus</bdi></a> we collect nginx stats from the logs via collectd. While the stats are currently not displayed anywhere, the plan is to use them at some point. This is the reason for the combined2 format.</p>
]]></description><link>https://forum.cloudron.io/post/40122</link><guid isPermaLink="true">https://forum.cloudron.io/post/40122</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 04 Dec 2021 03:37:30 GMT</pubDate></item></channel></rss>