Created
January 2, 2016 01:38
-
-
Save jfeldstein/893617f32acd9d5dfd64 to your computer and use it in GitHub Desktop.
Run Apache on CircleCI, and save logs as artifacts
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 characters
machine: | |
hosts: | |
local.example.com: 127.0.0.1 | |
dependencies: | |
pre: | |
- cp ./httpd.conf.circle /etc/apache2/sites-available/default | |
- sudo a2enmod rewrite | |
- sudo service apache2 restart | |
general: | |
artifacts: | |
- "/var/log/apache2/" |
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 characters
<VirtualHost *:80> | |
UseCanonicalName Off | |
ServerName local.example.com | |
DocumentRoot /home/ubuntu/www | |
DirectoryIndex index.php | |
LogLevel notice | |
<Directory /home/ubuntu/www> | |
AllowOverride All | |
Allow from All | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment