Apache reverse proxy settings --CentOS 7

Reverse proxy settings in Apache.

<VirtualHost *: 80>
   ServerName www.mydomain.example
  
   <Proxy *>
     Require all granted
   </Proxy>

   ProxyRequests Off
   ProxyPreserveHost On
   ProxyPass / http: // localhost: 10000 / keepalive = On
   ProxyPassReverse / http: // localhost: 10000 /
   RequestHeader set X-Forwarded-Proto "https"
</VirtualHost>

Explanation of reverse proxy settings

Pass all access to the proxy

By default, access to the proxy is blocked, so set it to pass.

   <Proxy *>
     Require all granted
   </Proxy>

Associated Information