Fix secret key loading for nginx