I am struggling to configure apache to reverse proxy to a python webserver running on port 5000. This is the configuration i have used on a regular server without cpanel. Ive put this in the pre and post include section but neither work. What am i doing wrong?
Code:
<VirtualHost *:80>
ServerName sub.domain.com
ProxyRequests Off
ProxyVia Off
<Proxy *>
Require all granted
</Proxy>
SSLProxyEngine On
ProxyPass / http://localhost:5000/
ProxyPassReverse / http://localhost:5000/
</VirtualHost>
Last edited by a moderator: