1 hour ago · Tech · 0 comments

Victoria-Logs has an built-in UI – and it’s easier for me to access via my web browser if I put Nginx in front of it. In this post: FreeBSD 15.0 victoria-logs-1.50.0_2 nginx-1.30.2_2,3/li> Victoria Logs config This is the main configuration, as found in /etc/rc.conf: victoria_logs_args="-storageDataPath=/var/db/victoria-logs -retentionPeriod=1 \ -httpListenAddr=:9428 -syslog.listenAddr.tcp=:29514 -tls=true \ -tlsKeyFile=/usr/local/etc/ssl/logs.int.unixathome.org.key \ -tlsCertFile=/usr/local/etc/ssl/logs.int.unixathome.org.fullchain.cer" Those \ and multiple lines, yea, don’t do that, put it all on one line. I’ve done that above to make it easier for you to read. Nginx This is what I added to my nginx.conf: # Define an upstream block for optimal connection pooling upstream victoria_backend { server 127.0.0.1:9428; keepalive 100; # Keeps connections open to reduce TCP overhead } # HTTPS server # server { listen 443 ssl; server_name logs.int.unixathome.org; ssl_certificate…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.