aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-02 22:45:35 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-09-02 22:45:35 +0200
commit4bf3c2e62584f49eb44df5dde72bc78a13dc57e9 (patch)
treef9271fd13e8c128676749484bdbad25ee4473a98
parent97a83e4761ee0d7b3793d1323f59ec455eff1b52 (diff)
downloadansible_collection-4bf3c2e62584f49eb44df5dde72bc78a13dc57e9.tar.gz
apache README
-rw-r--r--roles/apache/README.md48
1 files changed, 48 insertions, 0 deletions
diff --git a/roles/apache/README.md b/roles/apache/README.md
new file mode 100644
index 0000000..6cc82ee
--- /dev/null
+++ b/roles/apache/README.md
@@ -0,0 +1,48 @@
+# kompetenzbolzen.stuff.apache
+
+
+Example config
+
+```
+---
+php_versions:
+ - php8.0
+
+php_extensions:
+ - fpm
+
+# Removing will NOT remove the module
+apache_mods:
+ - ssl
+ - rewrite
+
+apache_rproxies:
+ proxy-sso:
+ hostname: test.example.com
+ ssl: true
+ proxy: https://test-01.example.com:8443/
+ apache_custom_conf: |
+ ProxyPreserveHost on
+ SSLProxyVerify none
+ SSLProxyCheckPeerCN off
+ SSLProxyCheckPeerName off
+
+apache_vhosts:
+ bookstack:
+ hostname: asdf.example.com
+ php_version: '8.0'
+ relative_root: 'webapp/public'
+ php_custom_conf: |
+ php_value[upload_max_filesize] = 128M
+ php_value[post_max_size] = 256M
+ php_value[memory_limit] = 512M
+
+apache_nophp_vhosts:
+ homer:
+ hostname: dashboard.example.com
+ relative_root: ''
+ apache_custom_conf: ''
+
+apache_ssl_cert: '/etc/ssl/certs/{{ ansible_facts.fqdn }}.pem'
+apache_ssl_key: '/etc/ssl/private/{{ ansible_facts.fqdn }}.key'
+```