OpenSprinkler Forums Hardware Questions OpenSprinkler Pi (OSPi) OSPi Major Update Available Reply To: OSPi Major Update Available

#33964

Crusader998
Participant

Excellent work! The only issue I have with this app is that its difficult to put it behind a proxy. allot of the links are hard-coded in the python code with links such as /wa or /sn. this means that it will hit https://mydomain.com/wa instead of https://mydomain.com/opensprinkler/wa

This makes it difficult to put behind a proxy where I would like to reverse proxy the site to https://mydomain.com/opensprinkler

Is it possible to make the code slightly more dynamic or if possible make it a variable that can be modified in a conf file or such?

Any thoughts?