We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d193c4 commit 7a91ff4Copy full SHA for 7a91ff4
1 file changed
.server/install.sh
@@ -1,5 +1,5 @@
1
sudo apt update
2
-sudo apt install -y nodejs npm apache2 snapd
+sudo apt install -y nodejs npm apache2 snapd cron
3
sudo snap install --classic certbot
4
sudo ln -s /snap/bin/certbot /usr/bin/certbot
5
cd ~
@@ -8,3 +8,7 @@ sudo a2enmod rewrite
8
cp ./stac-browser-cdse/.server/browser.conf /etc/apache2/sites-available/000-default.conf
9
sudo certbot --apache -d browser.stac.dataspace.copernicus.eu
10
sudo service apache2 restart
11
+sudo crontab -e
12
+# in ctrontab, add the following lines (without the leading '# '):
13
+# 0 3 * * * /usr/bin/certbot renew --apache -n
14
+# 0 4 * * * /bin/systemctl restart apache2
0 commit comments