It is.
As a relative newcomer to Discourse, the right way to do this looks something like:
- Temporarily disable your reverse proxy.
- Install Discourse with SSL/Lets Encrypt disabled
- Verify a working install on :80
- Change the discourse port to 81 or another nonstandard port, or better still use a socket.
- Spin up the reverse proxy again, configure against discourse installation (including https encapsulation)
- Enable force_https
If you don’t install Discourse without the RP up there are too many areas this could go wrong to practically troubleshoot.