Escolar Documentos
Profissional Documentos
Cultura Documentos
1:443
<VirtualHost 192.168.2.1:443>
ServerAdmin webmaster@domain.org
DocumentRoot "/var/www/hotspot"
ServerName "192.168.2.1"
<Directory "/var/www/hotspot/">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/hotspot-error.log
LogLevel warn
ServerSignature On
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem
</VirtualHost>
enable ssl
sudo a2ensite hotspot
sudo a2enmod ssl
sudo apache2-ssl-certificate
Listern ports
nano -w /etc/apache2/ports.conf
Listen 192.168.2.1:80
Listen 192.168.2.1:443
Server Root
nano -w /etc/apache2/apache2.conf
add
ServerName 192.168.2.1