diff --git a/README.md b/README.md index 1859622..bbad7aa 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,29 @@ # Hakase-nginx +**My nginx build files.** -My nginx build files. +## 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 +- Ubuntu / Debian - apt install libjemalloc-dev uuid-dev libatomic1 libatomic-ops-dev expat unzip autoconf automake libtool libgd-dev libgeoip-dev g++ curl -Please edit for config.inc file. (SERVER_HEADER, Modules...) +## How to Install? +1. Install dependency library. (If you have already install it, omit it.) +2. Edit for config.inc file. (SERVER_HEADER, Modules, ETC.) +3. Run ./auto.sh +4. Install [systemctl 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;** +5. systemctl restart nginx +6. **The END!!** -Features +## Features - Auto SSL Cipher settings + - **The following information is preset. Do not set it yourself unless you need it.** - ssl_protocols - ssl_ciphers - ssl_prefer_server_ciphers - ssl_ecdh_curve - DO NOT USE ssl_dhparam. not required. - TLS v1.3 (draft-23) - - Use OpenSSL-1.1.1-pre3 (draft 23) + - Use OpenSSL-1.1.1-pre3 (**draft 23**) - Use OpenSSL Equal Preference Patch ([BoringSSL](https://github.com/google/boringssl) & [CentminMod](https://centminmod.com/)) - Prefers ChaCha20 suites with clients that don't have AES-NI (e.g., Android devices) - More library! @@ -21,7 +32,7 @@ Features - and the other. - Hpack, SSL Dynamic TLS Records Support. (Thanks to cloudflare!) -Upcoming Features +## Upcoming Features - Support TLS v1.3 (not draft) - Auto build (rpm, deb, etc.) - ETC. diff --git a/config.inc b/config.inc index 0dee686..02bae82 100644 --- a/config.inc +++ b/config.inc @@ -1,9 +1,5 @@ #!/bin/sh -### Please install 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++ -### Ubuntu / Debian - apt install libjemalloc-dev uuid-dev libatomic1 libatomic-ops-dev expat unzip autoconf automake libtool libgd-dev libgeoip-dev g++ - ###################### ### Default Config ### ######################