Initial commit
Deploy Solar Relay / deploy (push) Failing after 4s

This commit is contained in:
franzz committed 2026-11-01 22:33:32 +01:00
1 parent 36180dffd7
commit ec75ac15b0
30 files changed
+3042 -1

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Include these locations in the existing HTTPS server block for rpioffice.nest.lutran.ch.
# The trailing slash on proxy_pass removes /solar-relay/ before forwarding.
location = /solar-relay {
return 308 /solar-relay/;
}
location ^~ /solar-relay/ {
proxy_pass http://127.0.0.1:8765/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_connect_timeout 3s;
proxy_read_timeout 15s;
}