compile from all place

This commit is contained in:
2026-08-26 10:56:37 +02:00
parent 68e0958b8e
commit 0b94ba1b85
13 changed files with 337 additions and 55 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
set -e
if [ ! -f /etc/nginx/ssl/inception.crt ]; then
openssl req -x509 -nodes -days 365 \
-newkey rsa:2048 \
-keyout /etc/nginx/ssl/inception.key \
-out /etc/nginx/ssl/inception.crt \
-subj "/C=UA/ST=Kyiv/L=Kyiv/O=42/OU=42/CN=${DOMAIN_NAME}"
fi
exec nginx -g "daemon off;"