proxy: support SSL certificate in the proxy template
This commit is contained in:
parent
fffb47518e
commit
c9d9d954de
@ -34,6 +34,17 @@
|
|||||||
{% if site.get('ErrorLog') != False %}ErrorLog {{ vals.ErrorLog }}{% endif %}
|
{% if site.get('ErrorLog') != False %}ErrorLog {{ vals.ErrorLog }}{% endif %}
|
||||||
{% if site.get('CustomLog') != False %}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% endif %}
|
{% if site.get('CustomLog') != False %}CustomLog {{ vals.CustomLog }} {{ vals.LogFormat }}{% endif %}
|
||||||
|
|
||||||
|
{% if site.get('SSLCertificateFile') %}
|
||||||
|
SSLEngine on
|
||||||
|
SSLCertificateFile {{ site.SSLCertificateFile }}
|
||||||
|
{% if site.get('SSLCertificateKeyFile') %}
|
||||||
|
SSLCertificateKeyFile {{ site.SSLCertificateKeyFile }}
|
||||||
|
{% endif %}
|
||||||
|
{% if site.get('SSLCertificateChainFile') %}
|
||||||
|
SSLCertificateChainFile {{ site.SSLCertificateChainFile}}
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ProxyPreserveHost {{ vals.ProxyPreserveHost }}
|
ProxyPreserveHost {{ vals.ProxyPreserveHost }}
|
||||||
{% for proxy, proxyargs in vals.ProxyRoute|dictsort|reverse %}
|
{% for proxy, proxyargs in vals.ProxyRoute|dictsort|reverse %}
|
||||||
{% set proxyvals = {
|
{% set proxyvals = {
|
||||||
|
Loading…
Reference in New Issue
Block a user