Created
April 28, 2015 15:51
-
-
Save rgarciaj/16e3b44e96b08f571713 to your computer and use it in GitHub Desktop.
Revisions
-
rgarciaj created this gist
Apr 28, 2015 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ sudo openssl req -new -x509 -days 365 -nodes -out /etc/apache2/ssl/DOMINIO.pem -keyout /etc/apache2/ssl/DOMINIO.key This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ <VirtualHost *:443> ServerAdmin [email protected] ServerName DOMINIO ServerAlias DOMINIO DocumentRoot /home/rocket/sites/RUTA RailsEnv development <Directory /home/rocket/sites/RUTA> Options -Indexes Options -MultiViews Order allow,deny Allow from all # This relaxes Apache security settings. # AllowOverride All # MultiViews must be turned off. # Options -MultiViews </Directory> ErrorLog /home/rocket/sites/RUTA/SITIO-error.log # Possible values include: debug, info, notice, warn, error, crit, alert, emerg. LogLevel warn CustomLog /home/rocket/sites/RUTA/SITIO-access.log combined SSLEngine On SSLCertificateFile /etc/apache2/ssl/DOMINIO.pem SSLCertificateKeyFile /etc/apache2/ssl/DOMINIO.key </VirtualHost>