DewGew / DZGA-Flask

Domoticz Google Assisting using Flask
GNU General Public License v3.0
8 stars 4 forks source link

[feature request]Can you make a toggle in settings to enable/disable the proxy fix ? #106

Closed wimmme closed 3 months ago

wimmme commented 4 months ago

Can you make a toggle in settings to enable/disable the proxy fix ?

I have now (since my NGINX config wouldn't work well) put DZGA-flask behind my HAProxy on OPNSense. This one works fine when i disable the code in smarthome.py for the proxy-fix.

I have to admit, I use a subdomain now too, so no rewrite is necessary for a sub-path. Probably that will be the key to solve this issue too -> need for a (sub)domain without path.

Tested with an example flask-app, had the same issues until I started using subdomains instead of paths ...

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

wimmme commented 3 months ago

Not stale, just question and politely waiting :-)