forked from hakasenyang/nginx-build
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.inc.example
77 lines (54 loc) · 1.25 KB
/
config.inc.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/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=1
### nginx-dav-ext-module
DAV_EXT=1
### fancyindex
FANCYINDEX=1
### GEOIP2
GEOIP2=1
### nginx-module-vts
VTS=0
##########################
### 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"