should I nginx be listeneing on port 8080 or enable 443
Doesn’t matter. I would not use 443 for plain http. So best to use 80xx or even just standard port 80.
Thank you very much the RequestHeader set X-Forwarded-Proto https worked for me.
virtualmin does not have headers module enabled by default. once I enabled that and added this to the config all is working again.
Thank you very much