Created
July 24, 2014 13:26
-
-
Save drscream/14d67bce1253c250966f to your computer and use it in GitHub Desktop.
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> | |
ServerName {{ servername }} | |
# directory | |
DocumentRoot "{{ documentroot }}" | |
<Directory "{{ documentroot }}"> | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
# php-fpm | |
ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/tmp/php.sock|fcgi://localhost/{{ documentroot }} | |
# logging | |
ErrorLog "/srv/log/httpd/{{ servername }}_error.log" | |
CustomLog "/srv/log/httpd/{{ servername }}_access.log" common | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment