1
0
Fork 0
mirror of synced 2024-11-17 06:25:36 -05:00
ovpn-admin/reconfigure.sh
2024-01-01 21:52:35 +04:00

12 lines
182 B
Bash
Executable file

#!/usr/bin/env bash
if [ ! -f .env ]; then
echo "Please create a .env file"
exit 1
fi
set -a
source .env
set +a
envsubst < ./nginx/default.conf.tpl > ./nginx/default.conf