#!/usr/bin/env bash # Based on # https://www.exratione.com/2014/03/running-nginx-as-a-non-root-user/ # https://github.com/exratione/non-root-nginx/blob/9a77f62e5d5cb9c9026fd62eece76b9514011019/nginx.conf # USAGE: ./boulder-integration.conf.sh /path/to/root cert.key cert.pem >> nginx.conf ROOT=$1 CERT_KEY_PATH=$2 CERT_PATH=$3 cat <