Pointed out that the GnuPG home directory should be kept outside the webroot

This commit is contained in:
Jack-Benny Persson 2023-01-19 16:55:42 +01:00
parent f87563d75e
commit b55c6ef5ec

View File

@ -1,6 +1,7 @@
<?php
// Where GnuPG should store keys and other stuff.
// This directory must be writable by the Apache/NGINX process
// This directory must be writable by the Apache/NGINX process,
// but remember to keep it outside of the webroot.
putenv('GNUPGHOME=/home/apache/gnupg');
// The recipient email and a subject line