Last active
May 27, 2018 05:08
-
-
Save llipe/a0bfc8be3057c3e01acaa0c0cb3b71da to your computer and use it in GitHub Desktop.
Archivo de configuración apache tipo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName dominio.cl | |
ServerAlias www.dominio.cl | |
DocumentRoot /home/ubuntu/public_html/dominio.cl/public | |
<Directory /home/ubuntu/public_html/dominio.cl/public/> | |
AllowOverride all | |
Require all granted | |
</Directory> | |
LogLevel warn | |
ErrorLog /home/ubuntu/public_html/dominio.cl/log/error.log | |
CustomLog /home/ubuntu/public_html/dominio.cl/log/access.log combined | |
</VirtualHost> | |
##################### | |
# SSL | |
##################### | |
<IfModule mod_ssl.c> | |
<VirtualHost *:443> | |
ServerName dominio.cl | |
ServerAlias www.dominio.cl | |
SSLEngine on | |
SSLCertificateFile /etc/apache2/ssl/apache.crt | |
SSLCertificateKeyFile /etc/apache2/ssl/apache.key | |
DocumentRoot /home/ubuntu/public_html/dominio.cl/public | |
LogLevel warn | |
ErrorLog /home/ubuntu/public_html/dominio.cl/log/error-ssl.log | |
CustomLog /home/ubuntu/public_html/dominio.cl/log/access-ssl.log combined | |
BrowserMatch "MSIE [2-6]" \ | |
nokeepalive ssl-unclean-shutdown \ | |
downgrade-1.0 force-response-1.0 | |
# MSIE 7 and newer should be able to use keepalive | |
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown | |
</VirtualHost> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment