2018-09-22 00:59:05 +09:00
2018-07-26 12:43:16 +09:00
2018-06-16 13:05:57 +09:00
2018-03-19 07:51:09 +09:00
2018-08-29 08:37:56 +09:00
2018-09-16 06:30:50 +09:00
2018-08-29 08:37:56 +09:00
2018-09-20 09:23:14 +09:00
2018-09-16 01:33:28 +09:00
2018-09-14 10:01:28 +09:00
2018-08-29 08:37:56 +09:00
2018-09-22 00:59:05 +09:00
2018-09-22 00:59:05 +09:00
2018-07-02 20:28:31 +09:00
2018-09-22 00:59:05 +09:00

Hakase-nginx

My nginx build files.

Example Web Server - https://ssl.hakase.io/

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 libmaxminddb-dev gcc-c++ curl
  • Ubuntu / Debian - apt install libjemalloc-dev uuid-dev libatomic1 libatomic-ops-dev expat unzip autoconf automake libtool libgd-dev libmaxminddb-dev g++ curl

How to Install?

  1. Clone this repository - git clone https://github.com/hakasenyang/nginx-build.git --recursive
  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.
    • Then modify config.inc.
    • cp config.inc.example config.inc
  4. Run sudo ./auto.sh
  5. Install systemd file (If you have already install it, omit it.)
  6. Check version and error test : nginx -v; nginx -t;
  7. Run systemctl restart nginx
  8. The END!!

Features

  • Auto SSL Cipher settings
    • The following information is preset. Do not set it yourself unless you need it.
    • ssl_protocols : TLSv1 TLSv1.1 TLSv1.2 TLSv1.3
    • ssl_ciphers : [TLS13+AESGCM+AES128|TLS13+AESGCM+AES256|TLS13+CHACHA20]:[EECDH+ECDSA+AESGCM+AES128|EECDH+ECDSA+CHACHA20]:EECDH+ECDSA+AESGCM+AES256:EECDH+ECDSA+AES128+SHA:EECDH+ECDSA+AES256+SHA:[EECDH+aRSA+AESGCM+AES128|EECDH+aRSA+CHACHA20]:EECDH+aRSA+AESGCM+AES256:EECDH+aRSA+AES128+SHA:EECDH+aRSA+AES256+SHA:RSA+AES128+SHA:RSA+AES256+SHA:RSA+3DES
    • ssl_prefer_server_ciphers : On
    • ssl_ecdh_curve : X25519:P-256:P-384:P-224:P-521
    • DO NOT USE ssl_dhparam. Not required.
  • TLS v1.3 (draft 23, 26, 28, final)
    • Use OpenSSL-1.1.2-dev (draft 23, 26, 28, final)
    • Use OpenSSL equal preference patch (BoringSSL & buik)
    • My OpenSSL patch is here.
  • Prefers ChaCha20 suites with clients that don't have AES-NI(AES hardware acceleration) (e.g., Android devices)
  • More library!
    • headers_more_nginx_module
    • Google PageSpeed for nginx
    • and the other.
  • HPACK, SSL Dynamic TLS Records Support. (Thanks to cloudflare!)
  • SSL Strict-SNI (ex: http { strict_sni on; } ) (Thanks to @JemmyLoveJenny)
    • Strict SNI requires at least two ssl server settings (server { listen 443 ssl }).
    • It does not matter what kind of certificate or duplicate.
    • Use "strict_sni_header on" if you do not want to respond to invalid headers. (only with strict_sni)
  • GeoIP2 Module #2

Upcoming Features

  • Auto build (rpm, deb, etc.)
  • ETC.

Deprecated Features

  • SPDY (Not compatible this version.)
  • GeoIP (Changed to GeoIP2.)
S
Description
Nginx custom build by Hakase | GitHub : https://github.com/hakasenyang/nginx-build
Readme
12 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 96.2%
Vim script 2.4%
C++ 0.5%
XS 0.4%
Objective-C 0.2%
Other 0.2%