Archived
1
0

」 feat: Added static website

This commit is contained in:
2025-02-22 16:56:23 +01:00
parent 05d2f7a981
commit b3dc6ebb98
81 changed files with 120 additions and 3 deletions

View File

@ -0,0 +1,9 @@
#!/bin/sh
if [ ! -f ${NGINX_SSL_KEY_FILE} ]; then
echo "Generating certs"
mkdir -p /etc/nginx/ssl
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ${NGINX_SSL_KEY_FILE} -out ${NGINX_SSL_CERT_FILE} -subj "/C=FR/ST=IDF/L=Angouleme/O=42/OU=42/CN=kanel.ovh/UID=adjoly"
else
printf "Key already exist not recreating\n"
fi