From 4bf3c2e62584f49eb44df5dde72bc78a13dc57e9 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 2 Sep 2021 22:45:35 +0200 Subject: apache README --- roles/apache/README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 roles/apache/README.md (limited to 'roles/apache/README.md') 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' +``` -- cgit v1.2.3