Skip to content

Instantly share code, notes, and snippets.

View thuanpham582002's full-sized avatar
๐Ÿ€
cosmic signal

thuanpham582002

๐Ÿ€
cosmic signal
View GitHub Profile
@thuanpham582002
thuanpham582002 / Dockerfile
Created December 9, 2024 10:41 — forked from hermanbanken/Dockerfile
Compiling NGINX module as dynamic module for use in docker
FROM nginx:alpine AS builder
# nginx:alpine contains NGINX_VERSION environment variable, like so:
# ENV NGINX_VERSION 1.15.0
# Our NCHAN version
ENV NCHAN_VERSION 1.1.15
# Download sources
RUN wget "http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz" -O nginx.tar.gz && \
@thuanpham582002
thuanpham582002 / gen_cert.sh
Created September 17, 2024 04:26 — forked from adamrunner/gen_cert.sh
bash script to generate a self signed certificate for development use
#!/bin/bash
# Bash shell script for generating self-signed certs. Run this in a folder, as it
# generates a few files. Large portions of this script were taken from the
# following artcile:
#
# http://usrportage.de/archives/919-Batch-generating-SSL-certificates.html
#
# Additional alterations by: Brad Landers
# Date: 2012-01-27