Allow to set backend_host for http proxy
This commit is contained in:
parent
d868842adf
commit
9584d5a1c7
1 changed files with 1 additions and 1 deletions
|
@ -29,6 +29,6 @@
|
|||
SSLCertificateKeyFile /usr/local/etc/dehydrated/certs/{{ site_name }}/privkey.pem
|
||||
SSLCertificateChainFile /usr/local/etc/dehydrated/certs/{{ site_name }}/chain.pem
|
||||
|
||||
ProxyPass / http://localhost:{{proxy_port}}/
|
||||
ProxyPass / http://{{ backend_host | default("localhost") }}:{{proxy_port}}/
|
||||
</VirtualHost>
|
||||
</IfFile>
|
||||
|
|
Loading…
Reference in a new issue