I’m running an Apache/Cpanel server and wrote an Apache host domain include config file to point a one of my domain names to a port number for a Next.js app I created.
The although it partially works. The problem i’m encountering is that it’s not forcing https in a lot of instances, and instead pulling an apache error page.
Here is the script I have for it:
ServerAdmin [email protected]
ServerName www.howard.codes
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<Location />
ProxyPass http://localhost:8080/
ProxyPassReverse http://localhost:8080/
</Location>
This is mainly happening in Firefox. Is my include.conf
files incorrect?