Files
solar-relay/deploy/apache-solar-relay.conf
T
franzz ec75ac15b0
Deploy Solar Relay / deploy (push) Failing after 4s
Initial commit
2026-11-01 22:33:32 +01:00

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>