12 lines
512 B
Plaintext
12 lines
512 B
Plaintext
# Include inside the existing HTTPS VirtualHost for rpioffice.nest.lutran.ch.
|
|
# Enable modules: sudo a2enmod proxy proxy_http headers
|
|
# Keep the host's existing SSLEngine and certificate configuration.
|
|
ProxyRequests Off
|
|
ProxyPreserveHost On
|
|
RedirectMatch 308 ^/solar-relay$ /solar-relay/
|
|
ProxyPass /solar-relay/ http://127.0.0.1:8765/ connectiontimeout=3 timeout=15
|
|
ProxyPassReverse /solar-relay/ http://127.0.0.1:8765/
|
|
<Location /solar-relay/>
|
|
RequestHeader set X-Forwarded-Proto "https"
|
|
</Location>
|