java-deptools: Turn proxy.conf into jinja template
This commit is contained in:
parent
5260ac8353
commit
2c636e0a95
2 changed files with 5 additions and 5 deletions
|
@ -82,7 +82,7 @@
|
||||||
- config
|
- config
|
||||||
|
|
||||||
- name: Install proxy config
|
- name: Install proxy config
|
||||||
copy: src=proxy.conf dest=/etc/httpd/conf.d/java-deptools-proxy.conf
|
template: src=proxy.conf.j2 dest=/etc/httpd/conf.d/java-deptools-proxy.conf
|
||||||
notify:
|
notify:
|
||||||
- restart apache
|
- restart apache
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
ServerName java-deptools.fedorainfracloud.org
|
ServerName {{ inventory_hostname }}
|
||||||
|
|
||||||
<Proxy *>
|
<Proxy *>
|
||||||
AddDefaultCharset off
|
AddDefaultCharset off
|
||||||
|
@ -8,9 +8,9 @@ ServerName java-deptools.fedorainfracloud.org
|
||||||
|
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile /etc/letsencrypt/live/java-deptools.fedorainfracloud.org/cert.pem
|
SSLCertificateFile /etc/letsencrypt/live/{{ inventory_hostname }}/cert.pem
|
||||||
SSLCertificateKeyFile /etc/letsencrypt/live/java-deptools.fedorainfracloud.org/privkey.pem
|
SSLCertificateKeyFile /etc/letsencrypt/live/{{ inventory_hostname }}/privkey.pem
|
||||||
SSLCertificateChainFile /etc/letsencrypt/live/java-deptools.fedorainfracloud.org/fullchain.pem
|
SSLCertificateChainFile /etc/letsencrypt/live/{{ inventory_hostname }}/fullchain.pem
|
||||||
SSLHonorCipherOrder On
|
SSLHonorCipherOrder On
|
||||||
SSLCipherSuite {{ ssl_ciphers }}
|
SSLCipherSuite {{ ssl_ciphers }}
|
||||||
SSLProtocol {{ ssl_protocols }}
|
SSLProtocol {{ ssl_protocols }}
|
Loading…
Add table
Add a link
Reference in a new issue