A simple nginx config to proxy HTTP to HTTPS. This is only needed because esp8266 with micropython can not perform https requests with ECDH certificates.
Given you deploy this app to proxy.foo.com
, then instead of
you will use now
# on the dokku server
dokku apps:create proxy
dokku domains:add proxy proxy.foo.com
# on your local machine
git remote add dokku dokku@<your-ip>:proxy
git push dokku