#!/bin/sh

SECRET_FILE=${SECRET_FILE:-/private/kubernetes/jwt/secret}

SECRET=`cat ${SECRET_FILE}`

JWT_SECRET="${SECRET}" JWT_SECRET_IS_BASE64_ENCODED="true" nginx -g "daemon off; error_log /dev/stderr info;"
