The RStudio Workbench Admin Guide provides detailed information about Apache and Nginx proxy configuration. Please review the link above for example configurations.
SELinux Configuration Note:
If your Linux server has SELinux enabled and enforcing, you may encounter issues when attempting to proxy the connection from your HTTP daemon to RStudio Workbench. If you are having trouble, the SELinux property you configure to allow your HTTP daemon to connect to RStudio Workbench is:
For further assistance configuring SELinux Booleans, refer to the SELinux admin guide available from Red Hat. For RHEL 7: