Skip to content

Instantly share code, notes, and snippets.

View luison's full-sized avatar

luison

View GitHub Profile
@luison
luison / regex.custom.pm
Last active December 16, 2020 19:15 — forked from ethanpil/regex.custom.pm
Custom regex rules for CSF/LFD and NginX as a proxy
#!/usr/bin/perl
###############################################################################
# Copyright 2006-2015, Way to the Web Limited
# URL: http://www.configserver.com
# Email: [email protected]
###############################################################################
sub custom_line {
my $line = shift;
my $lgfile = shift;