-
-
Save humbertodosreis/72c70fd32a3f130135cf to your computer and use it in GitHub Desktop.
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
# ************************************ | |
# Vhost template in module puppetlabs-apache | |
# Managed by Puppet | |
# ************************************ | |
<VirtualHost *:80> | |
ServerName awesome.dev | |
## Vhost docroot | |
DocumentRoot "/var/www/awesome/web" | |
## Directories, there should at least be a declaration for /var/www/awesome/web | |
<Directory "/var/www/awesome/web"> | |
Options Indexes FollowSymlinks MultiViews | |
AllowOverride All | |
Require all granted | |
# directory custom fragment goes here | |
<FilesMatch "\.php$"> | |
Require all granted | |
SetHandler proxy:fcgi://127.0.0.1:9000 | |
# filesmatch custom fragment goes here | |
</FilesMatch> | |
</Directory> | |
## Logging | |
ErrorLog "/var/log/apache2/8ehoxq3ta1cj_error.log" | |
ServerSignature Off | |
CustomLog "/var/log/apache2/8ehoxq3ta1cj_access.log" combined | |
## Server aliases | |
ServerAlias www.awesome.dev | |
## SetEnv/SetEnvIf for environment variables | |
SetEnv APP_ENV dev | |
# vhost custom fragment goes here | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment