Skip to content

Instantly share code, notes, and snippets.

View jovertical's full-sized avatar
🦉
Working from home

Jovert Lota Palonpon jovertical

🦉
Working from home
View GitHub Profile
@jovertical
jovertical / nginx-build-from-source.md
Last active December 27, 2019 16:45
Simple custom Nginx build with http_ssl_module included

Step 1: Download a tarball by going to: http://nginx.org/en/download.html

Step 2: Extract the tarball: tar <name-of-tarball-file>

Step 3: Configure from extracted source:

./configure --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-pcre --pid-path=/var/run/nginx.pid --with-http_ssl_module

Step 4: Make & install

<div class="w-100 position-relative" style="padding-top: 100%">
<img src="http://" class="position-absolute t-0 w-100 h-100 object-cover object-center">
</div>