Merge pull request 'Allow to set backend_host for http proxy' (!44) from host-forward into master

Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/44
This commit is contained in:
Stefan Haun 2022-07-03 20:58:39 +00:00
commit 218fb4786c

View file

@ -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>