Add includes for gitweb

This commit is contained in:
Salt 2020-10-18 23:23:00 -05:00
parent 63a1fa91f0
commit 2c2f1708a2
2 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,8 @@
loop:
- { src: "php-apache2.ini", dest: "apache2/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
file:
# This is a symlink so who cares
@ -66,6 +68,8 @@
- mpm_prefork
# Fun fact: this works
- php*
- proxy
- proxy_http
- rewrite
- ssl
notify: restart apache

View File

@ -29,4 +29,5 @@ SSLStrictSNIVHostCheck off
AllowOverride All
Options MultiViews FollowSymlinks
</Directory>
IncludeOptional /etc/apache2/includes/{{ gitweb_url }}.conf
</VirtualHost>