aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/httpd/templates')
-rw-r--r--roles/httpd/templates/httpd.conf.j27
1 files changed, 6 insertions, 1 deletions
diff --git a/roles/httpd/templates/httpd.conf.j2 b/roles/httpd/templates/httpd.conf.j2
index 9bfb562..0c39086 100644
--- a/roles/httpd/templates/httpd.conf.j2
+++ b/roles/httpd/templates/httpd.conf.j2
@@ -27,8 +27,13 @@ server "default" {
server "{{ item.domain }}" {
listen on localhost port {{ item.port }}
log style {{ httpd__log_format }}
- root "{{ httpd_pre__chroot_sites_dir }}/{{ item.domain }}"
gzip-static
+
+ root "{{ httpd_pre__chroot_sites_dir }}/{{ item.domain }}"
+
+ location "/public/*" {
+ directory auto index
+ }
}
{% endif %}
remember that computers suck.