Apache:SSL Origin Cloudflare: Difference between revisions

Created page with "*Buatlah folder di <code>/etc/apache2/ssl/</code> <syntaxhighlight lang="bash"> mkdir /etc/apache2/ssl/ </syntaxhighlight> *Selanjutnya buat file <code>fullchain.pem</code> didalam folder tersebut <syntaxhighlight lang="bash"> vim /etc/apache2/ssl/fullchain.pem </syntaxhighlight> *Isikan Origin sertifikat dan RSA root Cloudflare *Buat file privkey.pem didalam folder <code>/etc/apache2/ssl/</code> dengan nama <code>privkey.pem</code> <syntaxhighlight lang="bash"> vim..."
 
No edit summary
Line 30: Line 30:


* Contoh Virtual host
* Contoh Virtual host
<syntaxhighlight lang="bash">
<syntaxhighlight lang="apacheconf">
ServerAdmin webmaster@domain.com
ServerAdmin webmaster@domain.com
DocumentRoot /var/www/html/
DocumentRoot /var/www/html/
Line 50: Line 50:
CustomLog /var/log/apache2/domain.com_access common
CustomLog /var/log/apache2/domain.com_access common
</syntaxhighlight>
</syntaxhighlight>
[[Category:Server]]
[[Category:Apache]]
[[Category:Tutorial]]
[[Category:Linux]]
[[Category:Ubuntu]]