Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

[SOLVED] Automatic let's encrypt ssl certificate renewal erases my web conf Topic is solved

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
johan
Posts: 2
Joined: Thu Mar 21, 2019 2:08 pm

Os: Debian 8x
Web: apache + nginx
[SOLVED] Automatic let's encrypt ssl certificate renewal erases my web conf
  • Quote

Post by johan » Thu Mar 21, 2019 2:27 pm

Hi,

I've made some changes in the default /home/admin/conf/web/my.domain.apache2.ssl.conf (modifying the openbasedir setting).

The great feature that automatically renew the ssl certificates seems to reset this conf file (and create fatal errors on my services).

Can someone help me with that issue ?

I'm not familiar with shell and unix commands. The problem seems to come from this CRON jobs though : /usr/local/vesta/bin/v-update-letsencrypt-ssl

Thank you my frriends
Last edited by johan on Fri Mar 22, 2019 8:52 am, edited 1 time in total.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Automatic let's encrypt ssl certificate renewal erases my web conf
  • Quote

Post by grayfolk » Fri Mar 22, 2019 12:41 am

You should edit web templates, not auto-generated configs.
Top

johan
Posts: 2
Joined: Thu Mar 21, 2019 2:08 pm

Os: Debian 8x
Web: apache + nginx
Re: Automatic let's encrypt ssl certificate renewal erases my web conf
  • Quote

Post by johan » Fri Mar 22, 2019 8:51 am

grayfolk wrote: ↑
Fri Mar 22, 2019 12:41 am
You should edit web templates, not auto-generated configs.
Thanks, it seems to be a smart solution.

Web conf files templates are here : /usr/local/vesta/data/templates/web/apache2
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Automatic let's encrypt ssl certificate renewal erases my web conf
  • Quote

Post by grayfolk » Fri Mar 22, 2019 9:00 am

johan wrote: ↑
Fri Mar 22, 2019 8:51 am

Web conf files templates are here : /usr/local/vesta/data/templates/web/apache2
Right. You can edit exists templates, or create your own.
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password