You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default nginx doesn't use the X-Forwarded-Proto header to set the HTTPS entry in the S_SERVER global array. By updating the default nginx file, that could be remedied. For apache SetEnvIf can be used in a htaccess file, for nginx, no idea what the best approach is tbh.
The text was updated successfully, but these errors were encountered:
I get that error from Forceu/barcodebuddy-android#4, because the redirect isn't followed in the app it seems. But if the URL generated from the BCB UI would be correct, it would be fine too :)
It's related to the docker nginx configuration. If you look at the URL on the "add mobile app" page, you see that it uses http if behind a reverse proxy that uses X-Forwarded-Proto, because nowhere is the HTTPS env variable set to on. I know how to do that in a htaccess file, not for nginx (which is used in the docker container) unfortunately. But I'm guessing it must be possible. The URL can be changed manually, but it's easy to look over this and I think many people will make a mistake against this and run into a wall :)
By default nginx doesn't use the X-Forwarded-Proto header to set the HTTPS entry in the S_SERVER global array. By updating the default nginx file, that could be remedied. For apache SetEnvIf can be used in a htaccess file, for nginx, no idea what the best approach is tbh.
The text was updated successfully, but these errors were encountered: