MD5 in Nginx

core/ngx_md5.h header file /* * Copyright (C) Igor Sysoev * Copyright (C) Nginx , Inc. */#ifndef _NGX_MD5_H_INCLUDED_#define _NGX_MD5_H_INCLUDED_#include #include #if (NGX_HAVE_MD5)#if (NGX_HAVE_OP

Nginx log cut

1. Write a log script

#!/bin/bash
#This script needs to be run at 00:00 every day

#Nginx log file Storage path
logs_path=”/usr/local/nginx/logs”

#Create folder
mkdir -p ${logs_pat