From 10dc3cdd6c2ba13fb21623b934706148283c7ffd Mon Sep 17 00:00:00 2001 From: Hakase Date: Sat, 14 Oct 2023 23:46:15 +0900 Subject: [PATCH] Fix gitignore --- .gitignore | 3 ++ config.inc.sample | 80 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 config.inc.sample diff --git a/.gitignore b/.gitignore index 254087b..4b164c4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +# Config file +config.inc + # Not needed /.hg /patches diff --git a/config.inc.sample b/config.inc.sample new file mode 100644 index 0000000..54d5554 --- /dev/null +++ b/config.inc.sample @@ -0,0 +1,80 @@ +#!/bin/sh + +###################### +### Default Config ### +###################### + +### SERVER HEADER!!! +### Please edit this +SERVER_HEADER="hakase" + +### x86, x64 check +### If you do not want optimization, uncomment it. +### (Comment out existing sources.) +### Do not modify it under normal circumstances. +BITCHK=`getconf LONG_BIT` +#BITCHK=32 + +### Multithread build +### Do not modify it under normal circumstances. +BUILD_MTS="-j$(expr $(nproc) \+ 1)" + +### LTO build +### View : https://gcc.gnu.org/wiki/LinkTimeOptimization#Using_LTO +LTO=0 + +######################### +### Select add module ### +######################### + +### Enter 0 for the module that is not to be used. + +### PageSpeed +PAGESPEED=0 + +### nginx-http-flv-module +FLV=0 + +### naxsi +NAXSI=0 + +### nginx-dav-ext-module +DAV_EXT=1 + +### fancyindex +FANCYINDEX=1 + +### GEOIP2 +GEOIP2=1 + +### nginx-module-vts +VTS=0 + +### zstd-nginx-module +ZSTD=1 + +########################## +### nginx install path ### +########################## + +### Prefix +NGX_PREFIX="/usr/local/nginx" + +### Binary +NGX_SBIN_PATH="/usr/sbin/nginx" + +### Config Path +NGX_CONF="/etc/nginx/nginx.conf" + +### Temp Path (client_body_temp, proxy_temp, ...) +NGX_LIB="/var/lib/nginx" + +### Log path +NGX_LOG="/var/log/nginx" + +### PID file +NGX_PID="/var/run/nginx.pid" + +### Lock file +NGX_LOCK="/var/lock/nginx.lock" +