I'm currently trying to forward this url https://example.com/screenshot to http://localhost:8443 the reason why I'm trying to do this is because I have an express js server running that I need to be accessed via https. All the documentation I read pointed me to proxy pass. In my etc/httpd/conf I've added this code:
# mod_proxy setup.
ProxyRequests Off
ProxyPass /screenshot https://localhost:8443
ProxyPassReverse /screenshot https://localhost:8443
<Location "/screenshot">
Order allow,deny
Allow from all
</Location>
I restarted my server after this.
I also ensured that this was in my file.
LoadModule proxy_http_module modules/mod_proxy_http.so
When I go to https://example.com/screenshot after all this I get a 404 error. Is there anyway I could test to see if it's even working.
EDIT: I'm tried adding the trailing / /screenshot/ https://localhost:8443/ and still get 404.