Skip to content

Instantly share code, notes, and snippets.

View alies-dev's full-sized avatar
🎯
Focusing

Alies Lapatsin alies-dev

🎯
Focusing
View GitHub Profile
@alies-dev
alies-dev / build-nginx.sh
Created March 13, 2021 13:01 — forked from Yinchie/build-nginx.sh
Compiling NGiNX with OpenSSL TLS1.3, Brotli, more_headers, NAXSI - Ubuntu 20.04.1 x64
#!/usr/bin/env bash
# Run as root or with sudo
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root or with sudo."
exit 1
fi
# Make script exit if a simple command fails and
# Make script print commands being executed
set -e -x