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:
commit
218fb4786c
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