Let'sEncrypt autorenew overwrites custom config of httpd.ssl.conf
Posted: Mon Apr 23, 2018 11:37 pm
Server: Centos
Web: Apache 2.4
Hello,
I have an https installation of Moodle, in wich I have to give access to the path /home/user/web/domain.com/moodledata to php. So I edit the file /home/user/conf/web/domain.com.httpd.ssl.conf and I get:
BUT, when the certificate of let'sEncript get renewed, the process overwrites all changes.
There is a way to keep the custom config in domain.com.httpd.ssl.conf?
Thanks in advance,
Mario
Web: Apache 2.4
Hello,
I have an https installation of Moodle, in wich I have to give access to the path /home/user/web/domain.com/moodledata to php. So I edit the file /home/user/conf/web/domain.com.httpd.ssl.conf and I get:
Code: Select all
#File /home/user/conf/web/domain.com.httpd.ssl.conf
...
<VirtualHost domain.com>
...
<directory /home/user/domain.com/web/public_html>
php_admin_value open_basedir ( ... ) /home/user/web/domain.com/moodledata
...
There is a way to keep the custom config in domain.com.httpd.ssl.conf?
Thanks in advance,
Mario