23 lines
670 B
Plaintext
23 lines
670 B
Plaintext
<VirtualHost *:80>
|
|
ServerName www.fatecseg.edu.br
|
|
Redirect permanent / https://www.fatecseg.edu.br/
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:443>
|
|
ServerName www.fatecseg.edu.br
|
|
ServerAlias fatecseg.edu.br
|
|
DocumentRoot /dados/paginas/www
|
|
|
|
<Directory /dados/paginas/www>
|
|
Options -Indexes
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
SSLEngine on
|
|
SSLCertificateFile /etc/apache2/ssl/fatecseg/www.fatecseg.edu.br.crt
|
|
SSLCertificateKeyFile /etc/apache2/ssl/fatecseg/www.fatecseg.edu.br.key
|
|
|
|
ErrorLog ${APACHE_LOG_DIR}/www-ssl-error.log
|
|
CustomLog ${APACHE_LOG_DIR}/www-ssl-access.log combined
|
|
</VirtualHost> |