Add includes for gitweb
This commit is contained in:
parent
63a1fa91f0
commit
2c2f1708a2
@ -39,6 +39,8 @@
|
|||||||
loop:
|
loop:
|
||||||
- { src: "php-apache2.ini", dest: "apache2/php.ini", mode: "0644" }
|
- { src: "php-apache2.ini", dest: "apache2/php.ini", mode: "0644" }
|
||||||
- { src: "php-cgi.ini", dest: "cgi/php.ini", mode: "0644" }
|
- { src: "php-cgi.ini", dest: "cgi/php.ini", mode: "0644" }
|
||||||
|
- name: Create includes directory
|
||||||
|
file: path=/etc/apache2/includes state=directory
|
||||||
- name: Disable default website
|
- name: Disable default website
|
||||||
file:
|
file:
|
||||||
# This is a symlink so who cares
|
# This is a symlink so who cares
|
||||||
@ -66,6 +68,8 @@
|
|||||||
- mpm_prefork
|
- mpm_prefork
|
||||||
# Fun fact: this works
|
# Fun fact: this works
|
||||||
- php*
|
- php*
|
||||||
|
- proxy
|
||||||
|
- proxy_http
|
||||||
- rewrite
|
- rewrite
|
||||||
- ssl
|
- ssl
|
||||||
notify: restart apache
|
notify: restart apache
|
||||||
|
@ -29,4 +29,5 @@ SSLStrictSNIVHostCheck off
|
|||||||
AllowOverride All
|
AllowOverride All
|
||||||
Options MultiViews FollowSymlinks
|
Options MultiViews FollowSymlinks
|
||||||
</Directory>
|
</Directory>
|
||||||
|
IncludeOptional /etc/apache2/includes/{{ gitweb_url }}.conf
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
Loading…
Reference in New Issue
Block a user