Friday, August 23, 2013

config https


ทำตามลิ้งค์ www.howtoforge.com

vim /etc/apache2/sites-available/default-ssl



        ServerAdmin webmaster@localhost
        ServerName www.domain.co.th:443
        DocumentRoot /var/www

--------------------------------------------------------------------
** อย่าลืม  a2ensite default-ssl


ปิด http
vim /etc/apache2/ports.conf
#NameVirtualHost *:80
#Listen 80

No comments: