diff options
author | Pratyush Desai | 2023-03-11 22:11:32 +0100 |
---|---|---|
committer | Pratyush Desai | 2023-03-11 22:11:32 +0100 |
commit | 84c1cecf614910ea0da86d9ffde349731bda4b30 (patch) | |
tree | e5ed2f92ea06613431b6970434911bb483a9b2e0 /pillar/role/web/apache-httpd.sls | |
parent | cc007e6470a54311fac2facd1c6e9b321a3a4f28 (diff) | |
parent | c932881cd70bd64db40245ea1e3df283f3859c78 (diff) | |
download | salt-84c1cecf614910ea0da86d9ffde349731bda4b30.tar.gz salt-84c1cecf614910ea0da86d9ffde349731bda4b30.tar.bz2 salt-84c1cecf614910ea0da86d9ffde349731bda4b30.zip |
Merge pull request 'Import themis / BookStack' (#35) from bookstack into production
Reviewed-on: https://git.com.de/LibertaCasa/salt/pulls/35
Reviewed-by: Pratyush Desai <pratyush.desai@liberta.casa>
Diffstat (limited to 'pillar/role/web/apache-httpd.sls')
-rw-r--r-- | pillar/role/web/apache-httpd.sls | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pillar/role/web/apache-httpd.sls b/pillar/role/web/apache-httpd.sls new file mode 100644 index 0000000..bd77162 --- /dev/null +++ b/pillar/role/web/apache-httpd.sls @@ -0,0 +1,13 @@ +{%- set host = grains['host'] -%} +{%- set fqdn = grains['fqdn'] -%} + +apache: + global: + ServerAdmin: system@lysergic.dev + +profile: + apache-httpd: + snippets: + ssl_{{ host }}: + - 'SSLCertificateFile "/etc/ssl/{{ host }}/{{ fqdn }}.crt"' + - 'SSLCertificateKeyFile "/etc/ssl/{{ host }}/{{ fqdn }}.key"' |