Skip to content

Commit

Permalink
Update ssl-apache.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
xpanel-cp authored Dec 17, 2023
1 parent 6ea3c55 commit 2e05291
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ssl-apache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,16 +247,6 @@ mkdir /etc/ssl/
bash ~/.acme.sh/acme.sh --install-cert -d ${domain} --key-file /etc/ssl/${domain}.key --fullchain-file /etc/ssl/${domain}.crt --ecc

cat > /etc/httpd/conf.d/${domain}.conf << ENDOFFILE
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName ${domain}
DocumentRoot /var/www/html/example
ErrorLog /error.log
CustomLog /access.log combined
<Directory '/var/www/html/example'>
AllowOverride All
</Directory>
</VirtualHost>
<VirtualHost *:443>
ServerName ${domain}
DocumentRoot /var/www/html/example
Expand Down

0 comments on commit 2e05291

Please sign in to comment.