mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-04-26 00:52:28 +00:00
13 lines
263 B
Bash
13 lines
263 B
Bash
#!/usr/bin/env bash
|
|
|
|
FILE="/etc/ssl/certs/dhparam.pem"
|
|
|
|
if [ ! -f "$FILE" ]; then
|
|
echo "the $FILE does not exist, creating..."
|
|
openssl dhparam -out "$FILE" 2048
|
|
else
|
|
echo "the $FILE already exists, skipping..."
|
|
fi
|
|
|
|
echo "run default script"
|
|
exec /init |