We've an installation of RStudio pro on a RHEL 8 VM. Policy requires SELinux to be enabled. We can temporarily disable SELinux (setenforce 0), but as soon as SELinux is enabled we get a 502 Bad Gateway.
How can we configure RStudio and/or RHEL so RStudio can be accessed with SELinux enabled?