aboutsummaryrefslogtreecommitdiffstats
path: root/roles/httpd/defaults
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-01-01 13:26:11 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-01-01 13:26:11 +0100
commite5a65b550c719f427e0bb46f2e3149092b9e6285 (patch)
treead5cbf5cac81b49e104ff0ffb5711e37e7f70285 /roles/httpd/defaults
parentd5175b4fb930f1ca48e514a4ab8080f050d4c6bc (diff)
downloadrules-e5a65b550c719f427e0bb46f2e3149092b9e6285.tar.gz
refactor(roles/httpd): merge httpd roles
Diffstat (limited to 'roles/httpd/defaults')
-rw-r--r--roles/httpd/defaults/main.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/roles/httpd/defaults/main.yml b/roles/httpd/defaults/main.yml
index 3b0acd0..f5e0a43 100644
--- a/roles/httpd/defaults/main.yml
+++ b/roles/httpd/defaults/main.yml
@@ -2,7 +2,19 @@
httpd_configuration_file: /etc/httpd.conf
httpd_configuration_dir: /etc/httpd.d
-httpd_chroot: /var/www
+httpd_chroot_dir: /var/www
+httpd_passwords_dir: "{{ httpd_chroot_dir }}/htpasswd"
+httpd_sites_dir: "{{ httpd_chroot_dir }}/htdocs"
httpd_user: www
httpd_group: www
+
+httpd_supported_types:
+ - application/xml xml rss
+ - image/gif gif
+ - image/jpeg jpeg jpg
+ - image/png png
+ - image/svg+xml svg
+ - text/css css
+ - text/html html htm
+ - text/plain txt pgp pub
remember that computers suck.