I have a web application running on CentOS 7 with an Apache server used as a proxy for Kestrel. In my Program.cs file I\'m using the below, which seems to work fine: