normalize image

This commit is contained in:
ElevenNotes
2024-09-18 21:03:47 +02:00
parent 3418c03ef0
commit a303f0fa7c
4 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/ash
if [ ! -f "${APP_ROOT}/ssl/default.crt" ]; then
elevenLogJSON info "creating default certificate"
elevenLogJSON debug "creating default certificate"
openssl req -x509 -newkey rsa:4096 -subj "/C=XX/ST=XX/L=XX/O=XX/OU=XX/CN=${APP_NAME}" \
-keyout "${APP_ROOT}/ssl/default.key" \
-out "${APP_ROOT}/ssl/default.crt" \
@@ -13,7 +13,7 @@
/sbin/inotifyd /usr/local/bin/io.sh /nginx/etc:cdnym &
fi
elevenLogJSON info "starting ${APP_NAME}"
elevenLogJSON info "starting ${APP_NAME} (${APP_VERSION})"
set -- "nginx" \
-g \
'daemon off;'