Add proxy headers
This commit is contained in:
parent
21b6fe0335
commit
45206f4413
1 changed files with 3 additions and 0 deletions
|
@ -30,5 +30,8 @@
|
|||
SSLCertificateChainFile /usr/local/etc/dehydrated/certs/{{ site_name }}/chain.pem
|
||||
|
||||
ProxyPass / http://{{ backend_host | default("localhost") }}:{{proxy_port}}/
|
||||
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|
||||
RequestHeader set "X-Forwarded-SSL" expr=%{HTTPS}
|
||||
|
||||
</VirtualHost>
|
||||
</IfFile>
|
||||
|
|
Loading…
Reference in a new issue