So we have this site (which is going to be replaced with a forum soon, therefore I need ssl) however when you go to it using https I time out. I am using apache2 on debian and have generated my SSL cert with getssl and letsencrypt. Here is my m.conf in my sites-enabled folder:
LoadModule ssl_module /usr/lib/apache2/modules/mod_ssl.so
Listen 443
<VirtualHost *:443>
ServerName m.site.perkelle.com
ServerAdmin webmaster@localhost
DocumentRoot /var/www/test/
ErrorLog ${APACHE_LOG_DIR}/mc.site.perkelle.com.error.log
CustomLog ${APACHE_LOG_DIR}/mc.site.perkelle.com.access.log combined
LogLevel wa
SSLEngine on
SSLCertificateFile /etc/ssl/mc.site.perkelle.com/mc.site.perkelle.com.crt
SSLCertificateKeyFile /etc/ssl/mc.site.perkelle.com/mc.site.perkelle.com.key
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/test/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Thanks
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 300
تاريخ: دوشنبه
11 مرداد
1395 ساعت: 1:04