We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82ae8fb commit 8713623Copy full SHA for 8713623
root-fs/init
@@ -75,11 +75,13 @@ if [[ ! -f /config/keys/cert.key && ! -f /config/keys/cert.crt ]]; then
75
SUBJECT="/C=DE/ST=BE/L=Berlin/O=Carlos Gomes/OU=CG Server/CN=*"
76
echo "Generating self-signed keys in /config/keys, you can replace these with your own keys if required"
77
openssl req -new -x509 -days 3650 -nodes -out /config/keys/cert.crt -keyout /config/keys/cert.key -subj "$SUBJECT"
78
+ chown -R www-data:www-data /config/keys/
79
fi
80
81
# copy pre-generated dhparams
82
if [[ ! -f /config/nginx/dhparams.pem ]]; then
83
cp /defaults/nginx/dhparams.pem.sample /config/nginx/dhparams.pem
84
+ chown -R www-data:www-data /config/nginx/dhparams.pem
85
86
87
#######
0 commit comments