Compare commits

..
2 Commits
Author SHA1 Message Date
Hakase 321fcaff6e Update README.md 2018-09-14 10:07:09 +09:00
Hakase 59969296b2 Fix URL - OpenSSL 2018-09-14 10:01:28 +09:00
2 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -21,7 +21,7 @@
url = https://github.com/aperezdc/ngx-fancyindex.git url = https://github.com/aperezdc/ngx-fancyindex.git
[submodule "lib/openssl"] [submodule "lib/openssl"]
path = lib/openssl path = lib/openssl
url = https://git.hakase.app/Hakase/openssl-custom.git url = https://github.com/hakasenyang/openssl-custom.git
[submodule "lib/pcre"] [submodule "lib/pcre"]
path = lib/pcre path = lib/pcre
url = https://github.com/svn2github/pcre.git url = https://github.com/svn2github/pcre.git
+11 -10
View File
@@ -2,20 +2,21 @@
**My nginx build files.** **My nginx build files.**
## Please install dependency library. ## Please install dependency library.
- CentOS / Red Hat : yum install jemalloc-devel libuuid-devel libatomic libatomic_ops-devel expat-devel unzip autoconf automake libtool gd-devel geoip-devel gcc-c++ curl - CentOS / Red Hat - `yum install jemalloc-devel libuuid-devel libatomic libatomic_ops-devel expat-devel unzip autoconf automake libtool gd-devel geoip-devel gcc-c++ curl`
- Ubuntu / Debian - apt install libjemalloc-dev uuid-dev libatomic1 libatomic-ops-dev expat unzip autoconf automake libtool libgd-dev libgeoip-dev g++ curl - Ubuntu / Debian - `apt install libjemalloc-dev uuid-dev libatomic1 libatomic-ops-dev expat unzip autoconf automake libtool libgd-dev libgeoip-dev g++ curl`
## How to Install? ## How to Install?
1. Install dependency library. (If you have already install it, omit it.) 1. Clone this repository - `git clone https://github.com/hakasenyang/nginx-build.git --recursive`
2. Edit for config.inc file. (SERVER_HEADER, Modules, ETC.) 2. Install dependency library. (If you have already install it, omit it.)
3. Edit for config.inc file. (SERVER_HEADER, Modules, ETC.)
- If you receive the source for the first time, type the following command to set it. - If you receive the source for the first time, type the following command to set it.
- Then modify config.inc. - Then modify config.inc.
- cp config.inc.example config.inc - `cp config.inc.example config.inc`
3. Run ./auto.sh 4. Run `sudo ./auto.sh`
4. Install [systemd file](https://www.nginx.com/resources/wiki/start/topics/examples/systemd/) (If you have already install it, omit it.) 5. Install [systemd file](https://www.nginx.com/resources/wiki/start/topics/examples/systemd/) (If you have already install it, omit it.)
5. Check version and error test : **nginx -v; nginx -t;** 6. Check version and error test : `nginx -v; nginx -t;`
5. systemctl restart nginx 7. Run `systemctl restart nginx`
6. **The END!!** 8. **The END!!**
## Features ## Features
- Auto SSL Cipher settings - Auto SSL Cipher settings